in reply to Re: Load all modules in directory
in thread Load all modules in directory
Also, I'm not sure if this is intentional, but globbing those files leaves the .pm on, which may not be what you want.Yes yes yes yes yes yes.
Always verify that the data you are trying to use is of the correct format. I would recommend doing a print to <STDOUT> the elements of @mods to see if you are acutally getting what you need, and not getting something that is causing your code to choke.
- Comment on Re: Re: Load all modules in directory