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

Workshop

The workshop provides quiz questions to help you solidify your understanding of the material covered and exercises to give you experience in using what you've learned. Try to understand the quiz and exercise answers before you go on to tomorrow's lesson.

Quiz

1:What is a package? Why are packages useful?
A1: Packages are used to, well, package sets of global variables in a single unit, such that those units can be combined without one unit's variables tromping over another's. Packages work best for scripts that are made up of lots of parts that must work in harmony, or for modules of reusable library code.
2:How do you call a variable by its full package name?
A2: The full package name for any variable or subroutine consists of the variable ...

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