in reply to Re: Detect a localized variable
in thread Detect a localized variable
$ perl -e " our $snot = 66; push @snot, \$snot; local $snot = 77; push + @snot, \$snot; print qq[$_ $$_\n] for @snot " SCALAR(0x99aa64) 66 SCALAR(0x3f8cc4) 77
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Detect a localized variable
by Sewi (Friar) on Nov 18, 2011 at 14:01 UTC |