more useful options | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Why do you want to use the module without installing it? Is it to test the module during development? If so, put your test code in test.pl and run it with make test. Alternately you can delete test.pl and create a t/ directory containing multiple test scripts with arbitary names that will be run by make test.
If you're just in the mood to run arbitrary scripts against your development copy of Bar.pm then a quick hack would be:
Modulo your shell of choice - the above is for bash. The blib solution mentioned already will also work but you'll need to do a make to copy Bar.pm into Foo/Bar/blib/ each time you make a change. -sam PS: I cover all this and more in my upcoming book - Writing Perl Modules for CPAN. In reply to Re: MakeMaker, h2xs, and writing CPAN modules
by samtregar
|
|