Damn, I thought nobody saw that. ;-)
You must have seen my initial post within the first minute I posted, 'cause I updated my post before
davido made his first post.
I hesitated to include the interpolated hash slice solution initially because I think of it as an obfuscated over-kill, but included in my update for completeness. I was going to add the
print "$_ " for @animals solution too but stopped short because that solution will print an additional blank space after the last element in the array, which I consider as not a proper solution.
So the answer is -
yes, I admit I have updated without labelling it as an update.
no, I didn't see
Caron's post before my update.