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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.133 strict Chapter 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 strict Perl in a Nutshell Next: 8.135 Symbol
8.133 strict Book Index 8.135 Symbol

Library Navigation Links

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