On Mon, 1 Jul 2002, Andy Wardley wrote: > Use 'perldoc -l' to tell you the location of a module on your system. > 'perldoc -i' gives you case insensitivity which is also often useful. > > e.g. > $ perldoc -li template > /usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template.pm
However, that only works if the person has been nice enough to include some documentation for a module $ perldoc -l Template::Directive No documentation found for "Template::Directive". If they have though, You can use the -m option to view the source in your pager as well. $ perldoc -m Test::Builder::Tester Though more often than not I find myself doing $ sudo emacs `perldoc -l Test::Builder::Tester` To load it up in emacs or suchlike. (This is another reason not to run always as root...perldoc will barf if you run it as root, but doing it with sudo the `` doesn't have root privlidiges at this point.) Later. Mark. -- s'' Mark Fowler London.pm Bath.pm http://www.twoshortplanks.com/ [EMAIL PROTECTED] ';use Term'Cap;$t=Tgetent Term'Cap{};print$t->Tputs(cl);for$w(split/ +/ ){for(0..30){$|=print$t->Tgoto(cm,$_,$y)." $w";select$k,$k,$k,.03}$y+=2}