Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: "unique" filename?

by the_slycer (Chaplain)
on Dec 04, 2000 at 21:01 UTC ( [id://44808]=note: print w/replies, xml ) Need Help??


in reply to "unique" filename?

I use the following, which seems to work well (though results in some horribly long file names).
my $outfile = localtime; print "$outfile\n"; $outfile=~s/\s|://g; $outfile="$outfile" . rand($outfile); $outfile=~s/\.//g; #for win32 - doesn't like multiple dots print $outfile;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2025-02-07 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which URL do you most often use to access this site?












    Results (94 votes). Check out past polls.