Basic HTML version of Foils prepared Sept 20 97

Foil 9 Pod Syntax Explaining Use of Module HTML::FormatPS

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 -- Sept 20 97. by Geoffrey C. Fox,Nancy McCracken,Tom Scavo


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



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Apr 5 1998