Basic HTML version of Foils prepared April 16,1996

Foil 35 Constructor for class HTML::FormatPS - III

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


1 # Parse constructor arguments (might override defaults)
2 while (($key, $val) = splice(@_, 0, 2)) { # get in $key,$value next two elements from @_ and remove them from @_
  • # Here process key value pair and set $self hash as appropriate
  • # See original for details which are irrelevant here
3 }
4 return($self); # return datastructure
5 }

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