in reply to if statement confusion
I’m afraid that I would come fairly unglued if I saw such an “economical” attempt to write an if statement in the fewest number of characters. The difference makes absolutely no difference at all to the Perl compiler, but it has the very human difference of being utterly un-maintainable. To the point that, of course, it perhaps-compiled but did not produce the correct outcome. At this point in time, digital computers now being so blazingly fast as they are, we don’t need to economize on such things ... but we do need to be able to consistently write easily maintainable code that can be correctly understood at first glance. Mistakes in these areas can quite literally cost us a fortune.