in reply to Sorting array, getting modification of read-only value error
I suspect autovivification.
Minimal example:
use strict; use warnings; my @sorted = sort { $a->[1] <=> $b->[1] } (undef, undef, undef);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting array, getting modification of read-only value error
by myelinviolin (Novice) on Nov 28, 2012 at 19:40 UTC | |
by tobyink (Canon) on Nov 28, 2012 at 20:04 UTC |