Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Getting perldoc to recognize different perl versions

by Starky (Chaplain)
on Apr 17, 2001 at 09:36 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://73056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2024-04-24 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found