Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Dynamic Variable Names?by Anonymous Monk |
on Jul 25, 2002 at 00:36 UTC ( [id://185074]=note: print w/replies, xml ) | Need Help?? |
You can make the same mistakes with any coding practice - agreed. Which leads to the question of how often you make them, and how quickly you catch them. I submit that liberal usage of eval for most people leads to more mistakes, and more difficulty in tracking them down and debugging them. (Particularly if you don't religiously check $@.) Given its power it is sometimes worth going there. But not when there are built-in constructs for doing the same thing you are trying to do.
In Section
Seekers of Perl Wisdom
|
|