@mhd @drmorr I love the #Perl #programming language because in so many places it obeys the Principle Of Least Surprise—but *only* if you’re a normal person and not a stuck-up Real Programmer.
A normal person says, “Of course I can check how many things I have (elements in an array) by comparing to a number.”
A “Real Programmer” throws a fit because arrays and numbers are not the same thing, dammit, and their job is to explain to the computer how to do *its* job, dammit.