Summary

Today was Part 2 of everything you ever wanted to know, and probably a whole lot you didn't, about scalar data. Today you got to look at more tables of operators, in particular operators for assigning things to variables, or changing the values of variables, and for concatenating and repeating strings. You also learned about operator precedence, which determines which operators get to go first when you have an expression with lots of them in it.

Along the way you also learned about pattern matching with digits and some about if and while (although you'll learn a whole lot more about them on Day 6).We finished today's lesson talking about input and output, and in particular using <STDIN> to get data into a Perl script and the various ...

Get Sams Teach Yourself Perl in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.