What about:
$AoA2[0] = [ @{ $AoA1[0] } ];
Dereference first element of @AoA1 as an array; create a new reference to an anonymous array containing the result of the dereferenced array, and assign that new reference as first element of @AoA2.
In reply to Re^3: accessing element of array of arrays
by linuxer
in thread accessing element of array of arrays
by perlqs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |