Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: perldoc PATH

by toolic (Bishop)
on Jul 11, 2013 at 14:03 UTC ( #1043732=note: print w/ replies, xml ) Need Help??


in reply to perldoc PATH

I don't think perldoc can recursively search the PATH directories. It does have a -r switch which can recursively search the @INC directories:

perldoc -h -r Recursive search (slow)
If you really need this, I guess you could append all the PATH dirs to @INC.

See also perldoc -D


Comment on Re: perldoc PATH
Select or Download Code
Re^2: perldoc PATH
by Anonymous Monk on Jul 11, 2013 at 15:02 UTC
    Thanks. That works well. Bit slow (I guess because of the recursive search), but works OK.

    I am also going to generate 'man' files using pod2man. Is there a similar recursive search for UNIX man command as well.

    I also see that you can do a 'man' instead of perldoc for installed perl modules and the man page appears identical to perldoc output. For example

    man File::Path perldoc File::Path
    generate similar looking output.

    I do see that the man files are in a single directory. Does that mean I have to put the 'man' files in a single directory?

    Thanks

      Is there a similar recursive search for UNIX man command as well.
      Check the docs:
      man man
      I also see that you can do a 'man' instead of perldoc
      As documented in perldoc.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2015-07-04 02:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls