8.5 autousePragma 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 with care, since problems that might otherwise be found during compilation won't crop up until your program is already executing.use autouse module => qw( sub1 [ sub2 ...]) Copyright © 2001 O'Reilly & Associates. All rights reserved. |
|