Welcome to the Monastery | |
PerlMonks |
Re^2: Avoiding if/else knotsby holli (Abbot) |
on Aug 18, 2006 at 16:49 UTC ( [id://568218]=note: print w/replies, xml ) | Need Help?? |
My approach to that problem would be to write function to map the input to the keys in the hash. Something like
holli, /regexed monk/
In Section
Seekers of Perl Wisdom
|
|