There's more than one way to do things | |
PerlMonks |
Re: Creating temporary files without File::Tempby Sinister (Friar) |
on Feb 28, 2002 at 15:03 UTC ( [id://148231]=note: print w/replies, xml ) | Need Help?? |
I usualy use POSIX::tmpnam for this. It returns a still available file name for the /tmp dir. (eg: /tmp/fileErjARC).
example code:
I guess this is what you meant? Sinister greetings. "With tying hashes you can do everything God and Larry have forbidden" -- Johan Vromans - YAPC::Europe 2001 perldoc -q $_
In Section
Seekers of Perl Wisdom
|
|