use Pod::Text;
pod2text("perlfunc.pod");
Also:
pod2text < input.pod
$Pod::Text::termcap=1
. If termcap has not been enabled, then backspaces will be used to simulate
bold and underlined text.
A separate pod2text program is included that is primarily a wrapper for Pod::Text.
The single function pod2text
can take one or two arguments. The first should be the name of a file to
read the pod from, or ``<
&STDIN'' to read from
STDIN.
A second argument, if provided, should be a filehandle glob where output should be sent.