in reply to Code Optimization v5.8.1
Also, the last part of your while loop where you're asking if the user wants to try again seems garbled.chomp($in = <STDIN>); if (exists $acro{$in}) { print "$in is the acronym for $acro{$in}\n"; } else { print "Sorry, unknown acronym"; }
|
|---|