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 and understand the quiz and exercise answers before you go on to tomorrow's lesson.

Quiz

1:What are the two types of data you can use in Perl?
A1: The two types of data you can use in Perl are scalar data, for individual things such as numbers and strings and list data, for collective things such as arrays.
2:What kinds of data make up scalar data?
A2: Numbers, strings, and references. Full credit if you only said numbers and strings; we haven't talked about references yet.
3:What are the differences between double- and single-quoted strings?
A3: There are two differences ...

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