http://qs321.pair.com?node_id=99462


in reply to Date in filename

How about POSIX::strftime?
use POSIX; open FH, '>'.strftime('%Y%m%d', localtime) or die "Nope: $!";

Russ
Brainbench 'Most Valuable Professional' for Perl