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

Re: find filesystem path of module from command line

by chipmunk (Parson)
on Nov 21, 2001 at 06:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://126715]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2024-04-19 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found