I know that "use warnings" produces to "Use of uninitialized value" for option 1, but that's not the point here.use strict; no warnings; #no strict "vars"; # option1 our $x; # option2 { package one; $x="one"; print $x; } { package two; print $x; } __END__ 1: one 2: oneone
Cheers Rolf
In reply to Re^6: the "our" declaration ?!!
by LanX
in thread the "our" declaration ?!!
by perlpal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |