O'Reilly logo

Sams Teach Yourself Perl in 21 Days, Second Edition by Rafe Colburn, Laura Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Other Ways of Using References

Both using the backslash operator to create a reference and putting the reference where a name would be expected to dereference that reference are two common ways of creating and using references. But there are lots of other ways for doing the same things, some of which give you new and complex abilities, and others that provide more readable ways of doing the same thing. In this section, we'll look at some of the other ways to create and use references, as well as explore some of the other issues surrounding references.

Dereferencing List Reference Elements

If you have a reference to a list, one of the more common things you'll want to do with that reference is to get access to the individual elements inside that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required