Basic HTML version of Foils prepared April 16,1996

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

From Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 Material -- April 16,1996. by Geoffrey C. Fox


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

in Table To:


© 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 Sat Sep 6 1997