Book HomeJava and XSLTSearch this book

8.191. 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.



Library Navigation Links

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