lembark at wrkhors.com
Tue Dec 23 14:48:17 CST 2003
-- Ed Summers <ehs at pobox.com>
> On Tue, Dec 23, 2003 at 02:23:34PM -0600, Steven Lembark wrote:
>> Avoids all kinds of collisions.
> Like when the same process has requested the same file in the same second?
> Would be odd to get a collision, but odder things have happened I
> suppose. Point taken about using File::Temp, a nice addition to the Perl
It only takes one shot at:
until( grab $remote, $tempname )
on a fast system to fill your download directory with
File::Temp is also better for security, since $$ and
time can be related. This sounds pretty useless, until
you realize that some downloads might contain shell
code or Makefiles...
Steven Lembark 2930 W. Palmer
Workhorse Computing Chicago, IL 60647
+1 888 359 3508
More information about the Chicago-talk