> "jl_p...@hotmail.com" <jl_p...@hotmail.com> asked:
> > * *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.
On Mar 4, 12:44*pm, John Bokma <j...@castleamber.com> replied:
>
> Install Pod:
erldoc and locally [1], it comes with perldoc.
> Just set a path to it, or:
>
> perl -MPod:
erldoc -e'Pod:
erldoc->run()' Time::Local
Excellent! I just tried that one command on one system that
doesn't have "perldoc" installed, and the perldoc documentation for
Time::Local appeared! (So ironically Pod:

erldoc is apparently
already installed, even though the "perldoc" package is not.)
It even works for regular perldoc pages, like "perlpacktut", like
this:
perl -MPod:

erldoc -e "Pod:

erldoc->run()" perlpacktut
If I want to look up a core function, like split(), I can't figure
out how to emulate "perldoc -f split", but I CAN do:
perl -MPod:

erldoc -e "Pod:

erldoc->run()" perlfunc
and look it up from there. However, I still can't figure out how to
do things like "perldoc -q 'own module'". (I'd read through the
"perldoc Pod:

erldoc" documentation, but apparently there isn't
any...)
Anyway, John, your solution goes above and beyond what I was hoping
for. (Now I just need to commit it to memory for those times when I
can't look it up.)
Thanks again!
-- Jean-Luc