in reply to Re^2: Why is "odd number of elements in hash assignment" warning and not error?
in thread Why is "odd number of elements in hash assignment" warning and not error?

> there are a lot of different warnings under this misc group,

just overwrite warn or die in %SIG according to your needs.

> Most of those conditions do look like a loaded gun pointed at a foot, but not all.

You know I love criticizing Perl, its part of my mentality to openly discuss room for improvements. Call me an anti fan boy.

But whenever I try to get used to supposedly better designed languages (JS, Python, Ruby, ...) I'm instantly stumbling over something weird.

And the answer I normally get after asking "why" is "yeah for historical reasons we had to do it like this and can't change it now"

Misc is a good point, please send a feature request via Perlbug

Cheers Rolf

PS: Je suis Charlie!

  • Comment on Re^3: Why is "odd number of elements in hash assignment" warning and not error?