Book HomeJava and XSLTSearch this book

8.176. Pod::Text

Converts files from pod format to formatted ASCII text. Not generally used directly, but via the pod2text script (see Chapter 4, "The Perl Language"). Termcap is optionally supported for boldface and underlining and can be enabled with:

$Pod::Text::termcap=1

Otherwise, backspaces are used to simulate bold and underlined text. Exports one function.

pod2text

pod2text (filename[, filehandle])

Converts from pod to text format. Takes the following arguments:

filename
File to convert, or <&STDIN to read from STDIN.

filehandle
Optional. Filehandle glob to which output should be sent (*STDOUT to write to STDOUT).



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.