On Thu, 7 Dec 2017 12:44:51 -0800
SSC_perl <p...@surfshopcart.com> wrote:

> > On Dec 7, 2017, at 12:04 PM, Shlomi Fish <shlo...@shlomifish.org> wrote:
> > 
> > What does:
> > 
> >     say "@INC";
> > 
> > say if you add it to the script?  
> 
>       I get:
> 
> /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1/x86_64-linux
> /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/site_perl/5.26.1
> /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/x86_64-linux
> /home/user/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1
> 
>       I found a .cpanm directory in /home/user where all the modules are
> being installed.  Could that have anything to do with it?  I tried adding
> that directory with "use lib" but I still get the 500 error.
> 

you should make sure that the modules you wish to use are in one of the
dirs in @INC. cpanm should install to  the global directories.

> Thanks,
> Frank



-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
https://youtu.be/GoEn1YfYTBM - Tiffany Alvord - “Fall Together”

 <petn-randall>  Writing your own nirvana may be easier than writing a good
                 blog engine ;)
    — http://is.gd/3Hh82T

Please reply to list if it's a mailing list post - http://shlom.in/reply .

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to