$ perl -l use strict; use warnings; our $x = 3; foo(7); sub foo { my $oldx=$x; local $x = shift; print $x; print $oldx; }
In reply to Re: Examing local's stack
by codeacrobat
in thread Examing local's stack
by Ovid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |