in reply to Re^2: Arrays and Push
in thread Arrays and Push
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.