Hiding implentation details by writing tiny functions instead of just using references the way everybody else does rarely makes code cleaner. This is doubly true when the function you replace it with is obfuscated.
If you really need a golf function to do it though, it can be made shorter...
sub ref_push{push@{$_[0]||=[]},@_[1..$#_]}
In reply to Re^3: push to a referenced array
by jasonk
in thread push to a referenced array
by biga
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |