http://www.perlmonks.org?node_id=771530


in reply to Re: oneliner to get module version
in thread oneliner to get module version

Does your pmpath function get you something perldoc -l doesn't?

cow@moo[609]~/bin>perldoc -l CGI /usr/local/lib/perl5/5.10.0/CGI.pm

Replies are listed 'Best First'.
Re^2: oneliner to get module version
by graff (Chancellor) on Jun 15, 2009 at 15:58 UTC
    Does your pmpath function get you something perldoc -l doesn't?

    Evidently, perldoc -l does exactly what I intended to do with my "pmpath" shell function, so now I'll just reduce it to a shell alias:

    alias pmpath='perldoc -l'
    Much better -- thank you!