changing the month hash to a listThis prints the incorrect month name because an array index starts at 0, not 1. This will fix it:
chomp(my $month = <STDIN> ); $month--;
In reply to Re^2: **HomeWork** Printing the found input from an array
by toolic
in thread **HomeWork** Printing the found input from an array
by trenchwar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |