![]() |
|
Do you know where your variables are? | |
PerlMonks |
Re: elated frustrationby Jenda (Abbot) |
on May 28, 2006 at 21:01 UTC ( #552214=note: print w/replies, xml ) | Need Help?? |
You mean from something like: my $date = `date`;? Have a look at perldoc -f localtime perldoc -f gmtime perldoc POSIX and look for "strftime"One handy trick to remember is to always put some delimiters around a variable in a test print: They would make the newline at the end apparent. What delimiters to use depends on the expected value of course.
In Section
Meditations
|
|