Adding our @myArray allows the snippet to be used with use strict 'vars';.
{ our @myArray; local *myArray = $myHash{ "tres" }; $myArray[ 99 ] = "luftballons"; }
In reply to Re^2: Getting an Array Reference Into an Array
by ikegami
in thread Getting an Array Reference Into an Array
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |