in reply to Re^3: creating variables in a loop
in thread creating variables in a loop
When you use eval $string, you fire up a compiler. And there's no point, because every part of this is known by the time you are executing this code.
You're also using eval to get around "use strict", so even if it's not objectionable on a security basis, it's objectionable on a never never never use "variable variables" basis.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|