Problems? Is your data what you think it is? | |
PerlMonks |
Re^2: Drawback of eval {---}if ($@){---}, when using many times?by shmem (Chancellor) |
on Oct 29, 2015 at 13:47 UTC ( [id://1146377]=note: print w/replies, xml ) | Need Help?? |
Yes, but!
looks more flexible to me, since that way you can pass arguments for the subs to the dispatcher (e.g. error displayed), and you get something back for so much carefulness. update: This is a good example for following the DRY principle - Don't Repeat Yourself.
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
In Section
Seekers of Perl Wisdom
|
|