SYNOPSIS:
my $a={};
ref_push $a->{ARRAY}, "some", "list";
But the code is a bit obfuscated... %)sub ref_push{$_[0]?push@{+shift},@_:shift@{$_[0]=[@_]}}
In reply to push to a referenced array by biga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |