http://qs1969.pair.com?node_id=102838


in reply to create file with current date for name

you got your answer but as a side remark ... this is ugly if you don't need all return values:

my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(t +ime); # use a slice my ($year, $mon, $mday) = (localtime())[5,4,3];

-- Hofmator