-- Randal L. Schwartz, Perl hacker
our is a lexical-scoped aliasing of package variable (in the current package), while use vars is a package-scoped relaxation of the normal use strict rules. You cannot universally swap one for the other: they have overlapping uses and meanings, but also distinct uses and meanings.
In reply to •Re: Re: Re: Re: Configuration files via require or do and my, local.
by merlyn
in thread Configuration files via require or do and my, local.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |