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

Replies are listed 'Best First'.
Re: Re: Date in filename
by Anonymous Monk on Jul 25, 2001 at 17:05 UTC
    Thanks Russ. You rock!