I suspect autovivification.
Minimal example:
use strict; use warnings; my @sorted = sort { $a->[1] <=> $b->[1] } (undef, undef, undef);
In reply to Re: Sorting array, getting modification of read-only value error
by tobyink
in thread Sorting array, getting modification of read-only value error
by myelinviolin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |