Thanks a lot. I learned something interesting.perl -we 'use Strict; our $r="foo"; my $f = "boot";{local *r =\$f; $r += "loop"; print "$f\n$r\n...\n"};print print "$f\n$r\n...\n"' __output__ loop loop ... loop foo ...
In reply to Re^2: Type globs, strict, and lexical variables
by cems2
in thread Type globs, strict, and lexical variables
by cems2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |