Документация
HTML CSS PHP PERL другое

Section 15.7.  Exercises

 
Previous
Table of Contents
Next

15.7. Exercises

You can find the answers to these exercises in "Answers for Chapter 15" in the Appendix.

15.7.1. Exercise 1 [15 min]

Take the Oogaboogoo library you created in Chapter 10, Exercise 1 and turn it into a module you can bring in with use. Alter the invoking code so that it uses the imported routines (rather than the full package specification, as you did before), and test it.

15.7.2. Exercise 2 [15 min]

Modify your answer to Exercise 1 to use an export tag named all. When the user uses all, your module should import all of the subroutine names.

use Oogaboogoo::date qw(:all);


Previous
Table of Contents
Next
© 2000- NIV