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's a file handle? What are the STDIN, STDOUT, and STDERR file handles used for? |
A1: | A file handle is used by Perl to read data from or write data to some source or destination (which could be a file, the keyboard, the screen, a network connection, or another script). The STDIN, STDOUT, and STDERR file handles refer to standard input, standard output, and standard error, respectively. You create file handles to any other files using the open function. |
2: | What are the differences ... |
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.