The use blib '/path/to'; pragmatic is what you want.
Update: blib.pm will automatically search '..' and above. You need to build your module, but not install it. Then use blib; without any argument works fine from the build directory or any subdirectory of it. If you want to test from another pwd, the argument should be the absolute path to the build directory. Have fun!
After Compline,
Zaxo
In reply to Re: MakeMaker, h2xs, and writing CPAN modules
by Zaxo
in thread MakeMaker, h2xs, and writing CPAN modules
by perrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |