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).
In reply to Re^2: Date Handling in Perl
by joeymac
in thread Date Handling in Perl
by joeymac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |