Actually,that is exactly what he wants and what both you and I have described.
Not exactly. Just doing that sub would leave him doing a push @hd, [$a]; construct, which would be the Wrong I described. He also needs to slay the Bracket Fairy that's sprinkling dust through the code to get the push $hd, $a; that you/we have there.
In reply to Re^3: Arrays and Push
by fullermd
in thread Arrays and Push
by viored
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |