in reply to File::Temp randomness when forking
NamedProcess.20051129.110401.1234.ext
Millions of systems the world over have used this type of method (first mainly in C and now also in Perl) for decades and it can safely be called a de facto standard to do so. By comparison, using a CPAN module makes your system less supportable and maintainable. Note also that most systems will need their own date and time formatting to match the above formats anyway and this reduces the unique tmpfile subroutine to a trivial one-liner:
return join( '.', shift(), ProjectDate(), ProjectTime(), $$, shift +() );
-M
Free your mind
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: File::Temp randomness when forking
by tirwhan (Abbot) on Nov 29, 2005 at 10:23 UTC | |
by ryantate (Friar) on Nov 29, 2005 at 18:03 UTC | |
| |
|
Re^2: File::Temp randomness when forking
by thor (Priest) on Nov 29, 2005 at 12:56 UTC | |
| |
|
Re^2: File::Temp randomness when forking
by ryantate (Friar) on Nov 29, 2005 at 17:59 UTC | |
|