Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 having an uproarious good time at the Monastery: (7)
As of 2014-12-19 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (72 votes), past polls