in reply to Re^2: Missing Hash Keys When Hash Created in Sub
in thread Missing Hash Keys When Hash Created in Sub

AnomalousMonk already pointed out that it's a hash bug and not depended on return, but ...

> Not using return offends my programming sensibilities at some level.

Many DSL constructs (read "sexy") are based on this "lispy" feature.

In Ruby it's "super cool", don't wanna see the reaction if e.g. blocks in List::MoreUtils et.al. would require an explicit return.

As always mixing apples and oranges leads to fruit salad. =)

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)

PS: Je suis Charlie!

  • Comment on Re^3: Missing Hash Keys When Hash Created in Sub