On 3/4/11 Fri Mar 4, 2011 10:30 AM, "Brian F. Yulga" <byu...@langly.dyndns.org> scribbled:
> Coming from a basic understanding of C, the reference variable concept > sounds a lot like pointers in C. But, my "Learning Perl" and > "Intermediate Perl" books do not use that terminology. Am I on a > correct path to understanding by making this analogy? Perl references are indeed similar to C pointers, in that a reference variable contains the "location" of another variable and allows one to indirectly access the value of that variable, but there are some differences. For example, one cannot do arithmetic on Perl references, e.g. incrementing a reference to iterate through an array. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/