Pragma that, given a list of variable names, predeclares all
variables in the list, making sure they are available to routines
whose loading is delayed (e.g., routines that are 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);
Copyright © 2001 O'Reilly & Associates. All rights reserved.