use Pod::Text; pod2text("perlfunc.pod", *
Pod::Text converts documentation in the POD format (such as can be found throughout the Perl distribution) into formatted ASCII text. Termcap is optionally supported for boldface/underline, and can be enabled with:
If termcap is not enabled, backspaces are used to simulate bold and underlined text.
A separate pod2text program is included as part of the standard Perl distribution. Primarily, a wrapper for Pod::Text, it can be invoked this way:
pod2text < input.pod