|Don't ask to ask, just ask|
require $package?by Flame (Deacon)
|on Oct 17, 2001 at 04:15 UTC||Need Help??|
Flame has asked for the
wisdom of the Perl Monks concerning the following question:
I have an interesting problem. I need to be able to require a list of modules... however even though I know that the file is there, it insists it is not.
This is the sub itself:
It is being called like this:
Any ideas about the problem?
This is the output:
The file requested really exists... as: RPG/Item/Weapon/Spear.pm
I'm afraid I may not be very clear, but to summerize, I want to be able to import modules using require and a sub. If I wasn't clear enough on anything, just ask.
"Wierd things happen, get used to it"
Flame ~ Lead Programmer: GMS
Edit: chipmunk 2001-10-16