Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: find filesystem path of module from command line

by chipmunk (Parson)
on Nov 21, 2001 at 06:59 UTC ( #126715=note: print w/replies, xml ) Need Help??


in reply to find filesystem path of module from command line

I generally use perldoc -l Module, which simply displays the path to the module (or script, or POD documentation). I also use it when I want to view a module's source in emacs, as in emacs `perldoc -l Module`.

See perldoc for more on this handy utility.

Replies are listed 'Best First'.
Re: Re: find filesystem path of module from command line
by merlyn (Sage) on Nov 22, 2001 at 04:47 UTC
    I generally use perldoc -l Module, which simply displays the path to the module (or script, or POD documentation).
    Except when the file's documentation has been ripped out to a .pod file, because you'll get the path to the POD, not the PM. Bleh. But the PM is almost always nearby. {grin}

    -- Randal L. Schwartz, Perl hacker

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2020-01-28 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?