- or download this
...
$$arrayref[0] = "January";
$$hashref{"KEY"} = "VALUE"; # deref the hash, assign a key
&$coderef(1,2,3);
...
- or download this
...
${$arrayref}[0] = "January";
${$hashref}{"KEY"} = "VALUE"; # same as above, differet syntax
&{$coderef}(1,2,3);
...
- or download this
$arrayref->[0] = "January";
$hashref->{"KEY"} = "VALUE"; # still the same, witha arrow operator
$coderef->(1,2,3);