in reply to Re: Date Handling in Perl
in thread Date Handling in Perl
Thanks. I have been playing with your method, but I'm not completely sure what this bit is doing:
$hr < 10 ? 36000 : 0It seems to be some pattern matching that I am not completely familiar with. I was trying to tweak it to see if I could make it print today and/or yesterday in the final position of the directory path before I add it to my operational code, but I can only ever get it to print today (/07/11).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Date Handling in Perl
by fishmonger (Chaplain) on Jul 11, 2012 at 16:23 UTC |