http://www.perlmonks.org?node_id=11105363


in reply to Re: Thoughts on "one function, flexible arguments"?
in thread Thoughts on "one function, flexible arguments"?

I did some further research on Perlmonks, and found that there are pros and cons to accepting hashref vs listified hash. For example if you make an error in building your hash: one dies at compile-time, the other at run-time.

I also went out to MetaCPAN and checked the most popular modules list. Using this (highly unscientific) method I determined that most module authors (LWP::UserAgent, DateTime) have gone with listified hash, instead of hashref. So, that is what I'll stick to as well.