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

Re: how can i list @INC content

by planetscape (Chancellor)
on Aug 29, 2006 at 12:44 UTC ( #570144=note: print w/replies, xml ) Need Help??


in reply to how can i list @INC content

Script to update your PPM Repositories, by tphyahoo, will let you easily add repositories (such as the one bart recommended).

If you just want to view the contents of @INC, the following script might be useful:

#!/usr/local/bin/perl -w # Display the contents of @INC warn "\@INC is: ", join(' ', @INC), "\n";

However, I think prasadbabu's suggestions for proceeding further are just the ticket for you.

HTH,

planetscape

Replies are listed 'Best First'.
Re^2: how can i list @INC content
by science_gone_bad (Beadle) on Aug 29, 2006 at 18:29 UTC

    Also there's an easier way to find where @INC points to. Just enter perl -V on the command line, and @INC is listed as one of the outputs (along with trivia like what compiler was used to compile the perl you're using, library paths, etc.)

    Any modules you install will end up in one of those paths when it gets installed. You can also put custom modules there to be found for other reasons. I've split up things like this for various weird reasons dealing with multiple perl versions on different install locations on the same machine.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2022-06-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (91 votes). Check out past polls.

    Notices?