in reply to Including and Finding Custom Modules
Use the following to run your script using your version of Foo::Bar./my_test.pl ./lib/Foo/Bar.pm
This will work for simple pure perl modules, but you may have issues if your module is more complicated (e.g. uses XS, File::ShareDir, etc.).perl -I lib/ my_test.pl
|
|---|