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"; }
In reply to Re: Code Optimization v5.8.1
by duff
in thread Code Optimization v5.8.1
by bluethundr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |