Think about Loose Coupling | |
PerlMonks |
Re: Code Optimization v5.8.1by duff (Parson) |
on May 20, 2004 at 17:20 UTC ( [id://355025]=note: print w/replies, xml ) | Need Help?? |
There's no need to iterate over the keys of the hash to see if the acronym exists, just use the exists function!
Also, the last part of your while loop where you're asking if the user wants to try again seems garbled.
In Section
Seekers of Perl Wisdom
|
|