Expecting to get back the average are going to be suprised if it returns a function (there were no integers in @numbers). Explaining in the POD may not be enough and this is something that requires careful consideration.my @ints = grep { int($_) == $_ } @numbers; my $ave = ave( @ints );
Thanks for the feedback.
Cheers - L~R
In reply to Re^6: RFC: Tool::Box
by Limbic~Region
in thread RFC: Tool::Box
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |