The stupid question is the question not asked | |
PerlMonks |
Re^2: if ... elsif ... elseby shmem (Chancellor) |
on Jun 01, 2017 at 10:12 UTC ( [id://1191822]=note: print w/replies, xml ) | Need Help?? |
I would use a statement modifier here
because it is more like natural language, and because I dislike both one-line-xxx(){...}-loops and multiline loops with just one statement in the loop body. But that's just a matter of taste or style ;-)
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|