Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

References - Pg. 227

Chapter 11 CHAPTER 11 References Pointers are like jumps, leading wildly from one part of the data structure to another. Their introduction into high-level languages has been a step backwards from which we may never recover. --Charles Hoare References in Perl are much safer than raw pointers (such as those available in C or C++). Perl references cannot be left dangling towards a scalar that has been garbage- collected, and they cannot be coerced into pretending that a hash is an array. Semantically they're very robust, but sometimes their syntax lets them down, mak-