Basic HTML version of Foils prepared April 16,1996

Foil 12 Overview of References in Perl5

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


1 Perl5 has a much richer and at times rather confusing syntax for references or pointers as in C or C++
2 This new feature is used to allow Perl variables to hold "handles" to objects and so implement an object oriented environment.
3 So in this sense pointers in Perl combine and do not "properly" distinguish classic pointers and objects.
4 There are hard references and soft or symbol table references
5 Hard references are new to Perl5 and much more powerful

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