in reply to Re: what is the scope of my $x=$x
in thread what is the scope of my $x=$x
Probably, but it could also be
sub routine{ my $x = 123; print $x; ## 123 if( 1 ) { my $x = $x; ## Snippet here $x /= 2; print $x; ## 61.5 do { my $x = $x; ## Or here $x *= 10; print $x; ## 615 }; print $x; ## 61.5 } print $x; ## 123 }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: what is the scope of my $x=$x
by Joost (Canon) on Jun 05, 2006 at 10:54 UTC |