fourmi has asked for the wisdom of the Perl Monks concerning the following question:
What is the difference between th ebove, and what happens for ($Var) specifically if respecified insdide an if loop, does it return to the initial value when outside the loop? An explicit answer would be great, written or directed is fine! cheers ant$BasicVar = 'BasicVar"; my $MyVar = "MyVar"; ($BasicVarParenth) = "BasicVarParenth"; my ($MyVarParenth) = "MyVarParenth";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: variable definitions
by fourmi (Scribe) on Aug 15, 2003 at 13:31 UTC | |
by dragonchild (Archbishop) on Aug 15, 2003 at 13:37 UTC | |
by stajich (Chaplain) on Aug 15, 2003 at 13:40 UTC | |
by fourmi (Scribe) on Aug 15, 2003 at 13:49 UTC |