Basic HTML version of Foils prepared
April 16,1996
Foil 34 Constructor for class HTML::FormatPS - II
From
Perl5 and Advanced Perl4 Features Computational Science for Information Age Course CPS616 Material --
April 16,1996
.
by
Geoffrey C. Fox
# Set up defaults in hash $self which is blessed
my $self = bless {
family => "Times",
mH => mm(40), # mm is local subroutine converting millimetres to points
mW => mm(20),
printpageno => 1,
fontscale => 1,
leading => 0.1,
}, $class; # second argument to bless is class name
$self->papersize($DEFAULT_PAGESIZE); # To be Continued on next foil
©
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