Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)

by kcott (Archbishop)
on Jun 17, 2015 at 19:38 UTC ( [id://1130871]=note: print w/replies, xml ) Need Help??


in reply to Re: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)
in thread Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)

"The source-code to any installed package can also be found in the library directories of your computer. The PERL5LIB environment-variable (or its equivalent, found in some control-panel, in Windows), will tell you where."

No, that's wrong!

@INC contains the directories. These directories include whatever's in $PERL5LIB if it's been set or in $PERLLIB if that's been set.

This is documented in perlrun: ENVIRONMENT:

PERL5LIB
A list of directories in which to look for Perl library files before looking in the standard library and the current directory.
...
If PERL5LIB is not defined, PERLLIB is used. ...
PERLLIB
A list of directories in which to look for Perl library files before looking in the standard library and the current directory. If PERL5LIB is defined, PERLLIB is not used. ...

You can confirm this with perl -V (look under %ENV: and @INC: at the end of the output).

Please check your information before posting.

-- Ken

  • Comment on Re^2: Question about the most efficient way to read Apache log files without All-In-One Modules from CPAN (personal learning exercise)
  • Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1130871]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-23 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found