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


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



© 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