if ($var eq "January") { $var=1; } elsif ($var eq "Feburary") ... [download]
Originally posted as a Categorized Question.
In reply to Convert month name to number by xorl