in reply to Re: What's the best way to avoid name collisions when creating files?
in thread What's the best way to avoid name collisions when creating files?
From File::Temp:
$tmp = new File::Temp( UNLINK => 0, SUFFIX => '.dat' );
not to mention several other options, like
$unopened_file = mktemp( $template );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What's the best way to avoid name collisions when creating files?
by wizkid (Initiate) on May 05, 2005 at 09:07 UTC |