Keep It Simple, Stupid | |
PerlMonks |
Re^2: Smartmatch alternativesby oiskuu (Hermit) |
on Dec 17, 2013 at 17:20 UTC ( [id://1067504]=note: print w/replies, xml ) | Need Help?? |
Or, avoiding full grep:
Though efficiency probably shouldn't enter the discussion here. Performing a key search on array, where you could have used a hash—bad decision. Another reason to dislike the smartmatch: it promotes bad design.
In Section
Seekers of Perl Wisdom
|
|