Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^4: Module Finder

by Dietz (Curate)
on Oct 31, 2006 at 16:42 UTC ( #581526=note: print w/replies, xml ) Need Help??

in reply to Re^3: Module Finder
in thread Module Finder

The example with perldoc wasn't meant to be a reply to your OP. It was a reply to blazar's File::Find one liner.

However, if you happen to know the full last part of the module name you're searching for (i.e. Digest::MD5) you could use a recursive search (-r) to find the path to the pm file:

$ perldoc -l -r MD5 /usr/lib/perl/5.8/Digest/

I just noticed that perldoc doesn't show multiple matches:

$ perldoc -li html::parser /usr/lib/perl5/HTML/ $ perldoc -li xml::parser /usr/lib/perl5/XML/ $ perldoc -lri parser /usr/lib/perl5/HTML/

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2016-10-25 10:33 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (316 votes). Check out past polls.