1 |
=head1 SYNOPSIS
|
2 |
require HTML::FormatPS; # This part of documentation defines use of Module
|
3 |
$html = HTML::Parse::parse_htmlfile("test.html"); # access function parse_htmlfile in file Parse.pm in directory HTML
|
4 |
Now define an object of class FormatPS which holds parameters of relevance -- $formatter will hold pointer to new object
|
5 |
$formatter = new HTML::FormatPS
-
FontFamily => 'Helvetica',
-
PaperSize => 'Letter'; # Initial Parameters in this Invocation of HTML::FormatPS package
|
6 |
print $formatter->format($html); # run format method in class FormatPS to produce postscript output
|