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

Re: [FWP] Puzzle - Temp file creation



>>>>> "BC" == Bernie Cosell <bernie@rev.net> writes:

BC> [bernie@mercury script]$ perl -e '$a = "zzzz"; $a++ ; print $a, "\n" '
BC> aaaaa

BC> and so it isn't clear it *can* fail... it might loop forever...

Loop forever?

length("zzzz") == 4	length("aaaaa") == 5

perl -wle '$a="z"; print ++$a'
aa

<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