in reply to Replacing string with number

Use exists : if(exists $months{$month}) { $month = $months{$month} }

Replies are listed 'Best First'.
Re^2: Replacing string with number
by nejcPirc (Acolyte) on Sep 30, 2004 at 12:00 UTC
    Thanks a lot:)