Prev: Efficiently searching multiple files
Next: FAQ 8.5 How do I read just one key without waiting for a return key?
From: Peng Yu on 20 May 2010 17:38 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 20 May 2010 17:51 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 22 May 2010 10:24
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 |