in reply to Function that accepts both hashes/arrays and hashrefs/arreyrefs
You want Perl to sometimes take a reference, sometimes not, without tell it when. There's a problem with that.