Jeff Westman wrote at Fri, 20 Jun 2003 11:33:59 -0700:

> Is it possible to reformat a perldoc in HTML format?
> I don't see this as an option to 'perldoc'.

From
perldoc perldoc
       -o output-formatname
            This specifies that you want Perldoc to try using a
            Pod-formatting class for the output format that you
            specify.  For example: "-oman".  This is actually
            just a wrapper around the "-M" switch; using
            "-oformatname" just looks for a loadable class by
            adding that format name (with different
            capitalizations) to the end of different classname
            prefixes.

            For example, "-oLaTeX" currently tries all of the
            following classes: Pod::Perldoc::ToLaTeX
            Pod::Perldoc::Tolatex Pod::Perldoc::ToLatex
            Pod::Perldoc::ToLATEX Pod::Simple::LaTeX
            Pod::Simple::latex Pod::Simple::Latex
            Pod::Simple::LATEX Pod::LaTeX Pod::latex Pod::Latex
            Pod::LATEX.

So, if you want to see it in HTML output,
just try something like
perldoc -oHMTL perldoc


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to