in reply to Re: Basic - Perl5lib
in thread Basic - Perl5lib

I don't have a PERL5LIB environment variable?? When i run env command it isn't in the list and I get nothing from this Perl program
#!/usr/bin/perl print "PERL5LIB: ", $ENV{PERL5LIB}, "\n"; print "done\n";

Replies are listed 'Best First'.
Re^3: Basic - Perl5lib
by ikegami (Patriarch) on Oct 27, 2010 at 23:41 UTC

    So you don't. Is that a question?

    Perhaps you are missing the point of the variable: To specify additional locations to search for modules.