From: Peng Yu on
I'm not sure where to get the help page for a perl library function
(such as getops from Getopt::Std) from linux command line. Maybe this
is described in man perl. But I may overlook it. Would you please let
me know how to do it?

P.S. I could use webpage documentation. But I prefer command line
help.

Regards,
Peng
From: Dr.Ruud on
Peng Yu wrote:

> where to get the help page for a perl library function
> (such as getops from Getopt::Std) from linux command line.

perldoc Getopt::Std

--
Ruud
From: Ben Morrow on

Quoth Peng Yu <pengyu.ut(a)gmail.com>:
> I'm not sure where to get the help page for a perl library function
> (such as getops from Getopt::Std) from linux command line. Maybe this
> is described in man perl. But I may overlook it. Would you please let
> me know how to do it?
>
> P.S. I could use webpage documentation. But I prefer command line
> help.

There isn't any way other than looking all through 'perldoc Getopt::Std'
until you find the right function (or using the search in your pager, of
course). I've often thought it would be good to have something like
'perldoc -f Getopt::Std::getpos', but not enough to make it happen :).

Ben