in reply to Re: Re: Sending an anonymous hash to a sub
in thread Sending an anonymous hash to a sub

Superfluous nitpick that this doesn't really pass an anonymous hash either. It passes a list

Which is interpreted as a hash if that's what the receiver is looking for. Hashes and lists are often indistinguishable, as long as the number of entries is even.

I'll concede that I'm not sure of all the stuations that this applies to - but it works in this case.

--Bob Niederman, http://bob-n.com

All code given here is UNTESTED unless otherwise stated.

  • Comment on Re: Re: Re: Sending an anonymous hash to a sub