The stupid question is the question not asked | |
PerlMonks |
Re^3: The error says the value is uninitialized, but it works anywayby BillKSmith (Monsignor) |
on Aug 19, 2019 at 15:23 UTC ( [id://11104694]=note: print w/replies, xml ) | Need Help?? |
Try your experiment with my suggestion for reversing the processing order. (Remember you only edit one line.) Do you see why it runs correctly? The modified program never tries to access an array element which has been moved.
Bill
In Section
Seekers of Perl Wisdom
|
|