Answers for "perl else if"

0

perl else if

if ($condition1)
{
  # do something
}
elsif ($condition2)
{
  # do something else
}
elsif ($condition3)
{
  # yada
}
else
{
  # do the 'else' thing
}
Posted by: Guest on December-25-2020

Browse Popular Code Answers by Language