In each case, the computation on the right-hand-side of the '=' operator is completed in its entirety before it is assigned to @fields.
You can see a similar concept at work in this very common expression:
my $value = 10; $value = $value + 1; print $value, $/;
In this example, $value + 1 is evaluated first, and the result is assigned to $value
Dave
In reply to Re: reuse of split variable?
by davido
in thread reuse of split variable?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |