Workshop
Quiz
1: | If you want to use the cwd function twice in a program, how many times do you have to use Cwd;?
|
2: | What module provides an alias for the $_ variable?
|
Answers
A1: | a. After a module has been pulled into your program with use, all its functions are available to use throughout the rest of your program. |
A2: | b. use English causes $_ to be known by the name $ARG. |
Activities
Flip to the Appendix and try using the instructions there for installing the module Bundle::LWP from CPAN. You'll need a module in that bundle for the examples in Hour 24.
Get Sams Teach Yourself Perl in 24 Hours 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.