Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.133 strictChapter 8
Standard Modules
Next: 8.135 Symbol
 

8.134 subs

Pragma that predeclares subroutines whose names are given in a list:

use subs qw(sub[, ...]);
sub $arg[, ...];
This lets you use the subroutines without parentheses even before they're defined, and lets you override built-in functions.


Previous: 8.133 strictPerl in a NutshellNext: 8.135 Symbol
8.133 strictBook Index8.135 Symbol

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.