in reply to Re: nuances of my, and maybe local
in thread nuances of my, and maybe local
my $foo; local $foo # WRONG my %foo; local %foo; # WRONG my %foo; local $foo{key} = 'value'; # OK use vars qw ($var); $var=5; local $var = 10; # OK
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: nuances of my, and maybe local
by Anonymous Monk on Sep 27, 2002 at 21:16 UTC | |
by shotgunefx (Parson) on Sep 28, 2002 at 02:59 UTC |