[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Puzzle - Temp file creation



>>>>> "VB" == Vicki Brown <vlb@cfcl.com> writes:

VB>    $target = "$TMPDIR/quickblast${$}aaaa";
VB>      $target++;

I would have spent hours figuring this one out if it weren't for that hint.

I never realized that the automagic increment checked for a pattern. But
why should it? Why not simply increment what it finds. Or perhaps anchor
it at the back?

Anyway on to the method, Given that this is a temporary name, and since
it is using $$, why is it searching?

<chaim>
-- 
Chaim Frenkel					     Nonlinear Knowledge, Inc.
chaimf@pobox.com				               +1-718-236-0183

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe