Hi, >>>my $month = (<STDIN>); When you are taking the input from STDIN, the value of $month has \n in the end, Use chomp $month; before using the value,
Dhanashri -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>