And no one else has mentioned it but you probably want POSIX::strftime instead of shelling out to call date.
use POSIX qw( strftime ); ## . . . my $ymd = strftime( "%Y%m%d", localtime() ); ## . . .
In reply to Re: problem in a small script
by Fletch
in thread problem in a small script
by massoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |