Book HomeJava and XSLTSearch this book

8.232. vars

Pragma that, given a list of variable names, predeclares all variables in the list, making sure they are available to routines with delayed loading (e.g., routines loaded by the AutoLoader or SelfLoader). This allows you to use the variables under use strict. The vars pragma also disables warnings about typographical errors.

use vars qw($var1 @var2 %var3);


Library Navigation Links

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