Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^7: Unusual variable declarationby Jenda (Abbot) |
on Nov 05, 2019 at 16:33 UTC ( [id://11108331]=note: print w/replies, xml ) | Need Help?? |
Each of the two my $x declares a new variable. Both the our $y instruct the compiler to allow you to temporarily use a short name for the same global variable. They do NOT declare a variable! Jenda
In Section
Seekers of Perl Wisdom
|
|