in reply to elsif stupid question...

It is optional, of course. Suppose you want to do something if the input is "1", something other if it is "2", and nothing on any other case:

if ($input == 1) { # do something } elsif ($input == 2) { # do something other }