in reply to if-elsif-else (?)

To my way of thinking, the absence of an else clause is something that I would not expect to see ... hence, that I might well mis-read, especially in the heat of the moment of trying to troubleshoot a bug in your unfamiliar-to-me code.   It’s kinda like this very old saw:

PARIS IN THE THE SPRING
(“Paris in the spring,” right?   Look again.)

So, I would end the statement this way:

else { # (do nothing ...) };

The Perl compiler obviously won’t care either way, but the colleague who follows me (or I, myself, if more than just a little bit of time has passed ...) will appreciate the familiar clarity.   I have not only made the code conform to what your eyes expect to see, but also I have clearly spelled out the designer’s intentions.   Now, there is no question about, “is that a tpyo?”   The meaning is now crystal-clear.

JM2CW ...