home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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.