Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Use of %INC ?

by JavaFan (Canon)
on Jul 18, 2009 at 19:32 UTC ( [id://781375]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Use of %INC ?
in thread Use of %INC ?

Use it when you are trying to see just what kind of gunk^Wdirectory paths %INC is filled up with, when you know you have installed a module but perl is failing to find one.
Actually, in such a case @INC is far more useful than %INC. %INC just gives you information where Perl actually has found a module it loaded - it doesn't give you much useful information if it couldn't find a module.
Other similar use is when trying to sort out the module paths, say to clean up the duplicates.
Again, in that case, @INC is far more useful than %INC.

Replies are listed 'Best First'.
Re^5: Use of %INC ?
by parv (Parson) on Jul 19, 2009 at 14:09 UTC
    Ah, indeed! I misremembered that. Thank you for putting a stop on spread of disinformation.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (3)
As of 2024-03-29 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found