Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: store module names in an arrayby kyle (Abbot) |
on Oct 27, 2009 at 03:34 UTC ( [id://803372]=note: print w/replies, xml ) | Need Help?? |
You could wrap it in a string eval like so:
I might be inclined to put the whole thing in a BEGIN block.
Either way, there's a big security risk if @dbf comes from an untrusted source, but I think the risk is bigger with eval. It might be useful to read the documentation for use and require to see how close they are to what you want to do.
In Section
Seekers of Perl Wisdom
|
|