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