Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 avoiding work at the Monastery: (5)
As of 2014-10-25 09:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls