Re: Is there a "poor man's" perldoc?



"jl_post@xxxxxxxxxxx" <jl_post@xxxxxxxxxxx> writes:

So what I'm asking is: Is there a pure-Perl way to view a module's
perldoc documentation, particularly if the "perldoc" package is not
installed (and I have no power to install it)?

perldoc *is* pure Perl.

Install Pod::Perldoc and locally [1], it comes with perldoc.
Just set a path to it, or:

perl -MPod::Perldoc -e'Pod::Perldoc->run()' Time::Local

perldoc -q 'own module'

--
John Bokma j3b

Hacking & Hiking in Mexico - http://johnbokma.com/
http://castleamber.com/ - Perl & Python Development
.



Relevant Pages

  • Re: Is there a "poor mans" perldoc?
    ... if only I lived anywhere near the administrator. ... but unfortunately the "perldoc" package was not installed. ... Over the phone I begged my co-worker to install the "perldoc" ...
    (comp.lang.perl.misc)
  • RE: Help w/Class::Date Date.xs
    ... Most of that should be in the perldoc, ... in the source directory at the README and INSTALL files and examples if ... You can use the $WARNINGS switch to switch off the complains about the ... In general, if you really need fast date and datetime calculation, ...
    (perl.beginners)
  • Re: List all modules installed
    ... Also I tried perldoc -q install ... It gave me the steps on how to install a perl module. ...
    (perl.beginners)
  • Re: [SLE] OT: Removing attachements from stored mails (or my problems with perl)
    ... > up as a user who can install perl modules, ... I decided to install instead the older ... But 'pinfo' style would be preferable; perldoc does not navigate ... No documentation found for "perlinfo". ...
    (SuSE)
  • Re: List all modules installed
    ... Also I tried perldoc -q install ... It gave me the steps on how to install a perl module. ... with an extensive built-in documentation, ...
    (perl.beginners)