Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: create file with current date for name

by tachyon (Chancellor)
on Aug 07, 2001 at 20:09 UTC ( #102831=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    print "\n\n";
    # result is 20010807.summary
    
  2. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    my $ymd = sprintf("%04d%02d%02d",$year+1900,$mon+1,$mday);
    my $outfile = "$ymd.summary";
    print $outfile, "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://102831]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-08-31 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls