start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.4 AutoSplit Chapter 8
Standard Modules
Next: 8.6 B
 

8.5 autouse

Pragma for postponing the loading of a module from compile time to execution time. The module isn't loaded until one of its subroutines is used; the subroutines all have to be exported by the module.

use autouse 
module
 => qw(
sub1
 [
sub2
 ...])
Use with care, since problems that might otherwise be found during compilation won't crop up until your program is already executing.


Previous: 8.4 AutoSplit Perl in a Nutshell Next: 8.6 B
8.4 AutoSplit Book Index 8.6 B