It was there to see if I could get away with only having to check for
PL_sv_undef on the LHS, not PL_sv_yes etc too. Turns out I need to check
for the other immortals too, which is a bit more expensive. Now fixed with
While looking at that, I noticed that RO immortals on the LHS are silently
skipped rather than croaking; this contrasts with scalar assign:
$ ./perl -e'$_ = 1 for 0 ge 0'
Modification of a read-only value attempted at -e line 1.
$ ./perl -e'($_) = (1) for 0 ge 0'
I wonder whether this is deliberate / correct. The 5.000 src does indeed
have this line in pp_aassign():
More than any other time in history, mankind faces a crossroads. One path
leads to despair and utter hopelessness. The other, to total extinction.
Let us pray we have the wisdom to choose correctly.
-- Woody Allen
Migrated from rt.perl.org#129991 (status was 'resolved')
Searchable as RT129991$
The text was updated successfully, but these errors were encountered: