Recently I learned that there is a #PerlCritic policy preventing you from confusing `eq` and `==` 🤯

https://metacpan.org/pod/Perl::Critic::Policy::ValuesAndExpressions::ProhibitMismatchedOperators

I often do have mixed feelings about learnings like this... on the one hand I am really happy that I learned something new and found something incredibly useful, on the other hand I feel seriously bad for not having already known about something this basic...

Perl::Critic::Policy::ValuesAndExpressions::ProhibitMismatchedOperators

Don't mix numeric operators with string operands, or vice-versa.

MetaCPAN