Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^7: loop surpriseby Skeeve (Parson) |
on Apr 04, 2018 at 10:02 UTC ( [id://1212309]=note: print w/replies, xml ) | Need Help?? |
I can remember that long time (say: 30 or more years) ago, I also wrote loops like that. But now that you mention it, and thinking about it, I notice always write those kind of loops like:
The reason behind this is simply that your loop might not have found a valid value. s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{% +.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e
In Section
Seekers of Perl Wisdom
|
|