Or $refdataarr holds 13 instead of an array ref.
Either way, it usually happens when one does
$ref = @array;
when one needs to do
$ref = \@array;
or
$ref = [ @array ];
Contrary to what the OP said, it has nothing to do with 5.10. Something else changed too.
In reply to Re^2: "strict" violation on "sort" command with perl 5.10
by ikegami
in thread "strict" violation on "sort" command with perl 5.10
by mstet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |