Maybe this is a little naive, but couldn't a fairly safe temp file name be constructed from $$ (PID) and $^T (start time)? What are the odds of the host machine cycling through all available PIDs inside of one second? trowton@broadcast.com wrote: > -However, the point I was trying to make was that you > shouldn't do this > -anyway because there must be a module for it (lr@hpl.hp.com suggested > -POSIX::mktemp). Reinventing the wheel's not good (no matter > how many ways > -there may be to do something). > > Actually, just because there is a module does _not_ mean you > should use it. > Maybe the overhead of the module is more than you want to deal > with(unlikely, but possible), maybe your sysadmin won't allow > it(you were > lucky to get perl.exe on the server), maybe you just want to write it > yourself for the fun and education of having done it. If > you are on a > tight deadline, definitely use the module if possible, otherwise..... > > have Fun With Perl! > > Just my $.02. > trowt ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe