RE: localtime failing on DST change

2007-03-13 Thread Dial, Joe
Hello $Bill, I love reading your answers to other people's problems. I hope I can help you. Microsoft announced that there is a patch to the MSVCRT.DLL which may be used by the perl executable. I don't know the windows equivalent to ldd to be sure MSVCRT.DLL is used by perl, but if it is, then M

RE: Need help with range operator

2006-03-17 Thread Dial, Joe
Hi, When I read the first post, I remembered seeing that somewhere before. Then, I was amazed to see the "this is not what the range operator was meant to do." So, I looked for it. Found it in chapter 6 of the Perl Cookbook. Its Recipe 6.8. See this URL: http://www.unix.org.ua/orelly/perl/cookb

RE: Regular expression to test for numeric values

2004-04-01 Thread Dial Joe
How about this (direct from "The Perl Cookbook"[1]) ?? warn "has nondigits"if /\D/; warn "not a natural number" unless /^\d+$/; # rejects -3 warn "not an integer" unless /^-?\d+$/; # rejects +3 warn "not an integer" unless /^[+-]?\d+$/; warn "not a

RE: question about grep

2003-02-13 Thread Dial Joe
I'm gonna de-lurk for this one. If you look at Peter's example, you will note that grep applies a block-or-something to a list and returns a list. You are applying it to the file name, not the contents. Perl grep doesn't read files. If this wasn't the win32 perl list, I would just advise that yo