Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Getting perldoc to recognize different perl versions

by Starky (Chaplain)
on Apr 17, 2001 at 09:36 UTC ( #73056=note: print w/ replies, xml ) Need Help??


in reply to Getting perldoc to recognize different perl versions

perldoc is itself a perl script.

It searches @INC to find your modules. You just need to stuff your 5.00503 (or whatever you're looking for) directories into the @INC array before the 5.6.1 directories.

So to look at a module in the 5.00503 tree, you could do something like

  perl -I/usr/lib/perl5/site_perl/5.005 `which perldoc` Foo::Bar::Baz
Hope this helps!


Comment on Re: Getting perldoc to recognize different perl versions

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2016-02-12 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (386 votes), past polls