good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Except from the fact the eval contains a syntax error
(you'd need to escape the @), what makes you think the
eval is unsafe? There's no data coming from the outside.
The eval is as safe as any other code from the programmer.
There's a lot that can be argued against "variable names inside variable names", but security is only an argument if you use data from the untrusted environment as variable names. Abigail In reply to Re: Dynamic Variable Names?
by Abigail-II
|
|