in reply to
Replacing string with number
Another way, for fun:
$month=$months{$month}||$month;
Comment on
Re: Replacing string with number
Download
Code
In Section
Seekers of Perl Wisdom