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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 8.165 User::pwent Chapter 8
Standard Modules
Next: 8.167 vmsish
 

8.166 vars

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);


Previous: 8.165 User::pwent Perl in a Nutshell Next: 8.167 vmsish
8.165 User::pwent Book Index 8.167 vmsish