in reply to Re: $date in print is printing \$date ???
in thread $date in print is printing \$date ???
date is an external program, and as such, depends on the ENVironment. It is a very bad idea to do things like `date`. This ain't shell programming, this is perl, and perl has gmtime() and localtime() which in scalar context return a neato time string, as indelete $ENV{path}; die `date`;
Now that's called portability.perl -le die~~gmtime perl -le die~~localtime
|
MJD says you can't just make shit up and expect the computer to know what you mean, retardo! I run a Win32 PPM repository for perl 5.6x+5.8x. I take requests. ** The Third rule of perl club is a statement of fact: pod is sexy. |
|
|---|