![]() |
|
Keep It Simple, Stupid | |
PerlMonks |
Re^2: "return" to break out of a loopby phaylon (Curate) |
on May 13, 2008 at 18:49 UTC ( #686344=note: print w/replies, xml ) | Need Help?? |
For this to _really_ be nice, stuff like if would have to return the last value of the executed block:
We already have the ternary operator, but I find it can get hard to maintain when used often in one statement. Sparkling some do { .. }'s in only makes it a bit better. Ordinary morality is for ordinary people. -- Aleister Crowley
In Section
Seekers of Perl Wisdom
|
|