jht has asked for the wisdom of the Perl Monks concerning the following question:
gives a different result than:my $x = some expression;
Assuming some expression does not include $x in it.my $x; $x = some epxression;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: my $x = <expr>; vs my $x; $x = <expr>;
by Zaxo (Archbishop) on Jun 05, 2004 at 07:32 UTC | |
by Aristotle (Chancellor) on Jun 05, 2004 at 21:32 UTC | |
by Roy Johnson (Monsignor) on Jun 06, 2004 at 03:41 UTC | |
by Aristotle (Chancellor) on Jun 07, 2004 at 15:20 UTC | |
|
Re: my $x = <expr>; vs my $x; $x = <expr>;
by dave_the_m (Monsignor) on Jun 05, 2004 at 11:50 UTC | |
by Aristotle (Chancellor) on Jun 05, 2004 at 21:31 UTC | |
by dave_the_m (Monsignor) on Jun 05, 2004 at 21:41 UTC | |
by halley (Prior) on Jun 07, 2004 at 15:20 UTC | |
|
Re: my $x = <expr>; vs my $x; $x = <expr>;
by Abigail-II (Bishop) on Jun 05, 2004 at 22:04 UTC |