in reply to Re^2: Why does PERL5LIB need to be so verbose? ( INSTALL_BASE the local::lib way)
in thread Why does PERL5LIB need to be so verbose?
this is about installing packages locally, but making them visible globally.
Almost, its about installing them locally and making them visible without extra typing -- what you should be doing
I've no problem installing locally
I think you do have a problem because it looks like you're not using the INSTALL_BASE method; there is a site_perl in your $HOME/perl5
If what you've got is a whole perl installation in your $HOME/perl5 then don't mess with PERL5LIB simply call the correct perl, like $HOME/perl5/bin/perl myapp.pl .... and all those directories will be in @INC already
Or simply use the correct shebang in myapp.pl like #!/h/o/m/e/perl5/bin/perl --
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Why does PERL5LIB need to be so verbose? ( shebang )
by kiz (Monk) on Oct 22, 2013 at 09:32 UTC | |
by Corion (Patriarch) on Oct 22, 2013 at 09:38 UTC | |
by Anonymous Monk on Oct 22, 2013 at 09:39 UTC | |
by kiz (Monk) on Oct 22, 2013 at 10:15 UTC | |
by kiz (Monk) on Oct 22, 2013 at 11:31 UTC |