in reply to If it don't have a module...
perl Makefile.PL LIB=/my/dir/perllib \ INSTALLMAN1DIR=/my/dir/man/man1 \ INSTALLMAN3DIR=/my/dir/man/man3 \ INSTALLBIN=/my/dir/bin \ INSTALLSCRIPT=/my/dir/scriptsThen add:
to your script...use lib q{/my/dir/perllib};
Related: Does anyone know how to get around some of the dependencies going on using this method? Say I need module x and I install it in /my/dir/perllib, and it depends on module y which is somewhere else. Is there anyway to have the Makefile.PL look for the library besides the defaults? I guess this would be like setting an environment variable for @INC, but I assume it is another command-line arg.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: If it don't have a module...
by Kanji (Parson) on Apr 18, 2002 at 04:55 UTC |