in reply to Re: pmpath
in thread pmpath

'perldoc -l' finds the path to the documentation and not the actual source. The 'pmpath' script will give you the location of the source.
  $ perldoc -l Data::Dumper
  /usr/share/perl/5.6.1/Data/Dumper.pod
  $ pmpath Data::Dumper
  /usr/lib/perl/5.6.1/Data/Dumper.pm (2.102)
On the other hand there may be a much better 'built in' way to do this. If so, I'd be happy to learn it.

Replies are listed 'Best First'.
Re: Re: Re: pmpath
by jbisbee (Pilgrim) on Jan 23, 2002 at 19:07 UTC
      perldoc -m Data::Dumper
    Will pipe the entire module: both code and unformatted pod documentationi to your shell's $PAGER (in my case less).
    --
     __ () __ __ __ __   
    | o)--(_ | o) =| =| Jeff Bisbee       | #!/usr/bin/perl -w
    |__)__|__)__)__|__| jbisbee@yahoo.com | use strict or die;