use List::Util "min";
Yep, I like and use that. But for two values only a simple ternary is more appropriate IMHO. Of course keeping a $total is also fine, interesting and I had thought of it myself. But after all the $bad vs $good one is more symmetric and thus I prefer it. That's just me of course.
In reply to Re^5: compare files by words
by blazar
in thread compare files by words
by jajaja
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |