in reply to create file with current date for name
aside from that I'd just do as follows, biut then maybe I'm just a bad man :)
outputs 20010807.summary#!/usr/bin/perl -w use POSIX qw(strftime); my $myfile = strftime("%Y%m%d",localtime(time)); $myfile .=".summary"; print $myfile; print "\n";
|
---|
In Section
Seekers of Perl Wisdom