On Wed, Jul 14, 1999 at 04:20:39PM -0400, Chaim Frenkel wrote: > >>>>> "MGS" == Michael G Schwern <schwern@pobox.com> writes: > MGS> open(TMP, ">foo".time.$$"); isn't even safe, because if your program > MGS> is running persistantly (say as a daemon or under mod_perl or FastCGI) > MGS> subsequent runs will have the same PID, and if it runs twice in the > MGS> same second (a strong possibility), you're screwed. > > I still don't see the need for the search. Temporary files are > temporary, (duh). Oh, right. Temporary, deleted at the end of the program. Right. -- Michael G Schwern schwern@pobox.com http://www.pobox.com/~schwern /(?:(?:(1)[.-]?)?\(?(\d{3})\)?[.-]?)?(\d{3})[.-]?(\d{4})(x\d+)?/i ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe