Your skill will accomplish what the force of many cannot |
|
PerlMonks |
store module names in an arrayby Farhad (Initiate) |
on Oct 27, 2009 at 02:44 UTC ( [id://803365]=perlquestion: print w/replies, xml ) | Need Help?? |
Farhad has asked for the wisdom of the Perl Monks concerning the following question:
Hi all.
Here's the code that is throwing a syntax error. I believe that the package name must be a bareword and not stored in a variable. "require $dbf" works, but how can I do this using use?
Changing the above to require $dbf.pm works. But how do I make it work with use? thanks.
Back to
Seekers of Perl Wisdom
|
|