Do your code process three times the input list?Indeed it does and as davorg and demerphq have pointed out in their replies it isn't terribly efficient, but that's a "perlish" solution for you.
_________
broquaint
In reply to Re^3: minimum, maximum and average of a list of numbers at the same time
by broquaint
in thread minimum, maximum and average of a list of numbers at the same time
by LucaPette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |