in reply to Loading all modules under a directory
There are several "plugin" modules on CPAN, so you can look at how they do things. :)
Besides the other advice already given, if you have the list of file names of all the modules that you want to install, you can simply require() each file name. With a little more work you can turn that file name into a namespace and then call its import() routine. That's essentially what all does.
|
|---|