http://qs321.pair.com?node_id=1179140


in reply to Preventing unintended list expansion inside hash literals.

Yep, you should change return; to return undef;. It is a very bad idea to use return; in a sub that otherwise only ever returns a single scalar.

- tye