in reply to elsif stupid question...
if ($input == 1) { # do something } elsif ($input == 2) { # do something other } [download]