in reply to Re^6: RFC: Tool::Box
in thread RFC: Tool::Box
use Tool::Box qw( :running_totals )
That was, you provide normal functions as the default (with $ave returning undef or 0 in your example above). But, if someone wants the cool running-totals feature, they can turn it on.
Another possibility would be to provide Tool::Box and Tool::Box::Running_Total. *shrug* I'm just brainstorming here ...
Being right, does not endow the right to be rude; politeness costs nothing.
Being unknowing, is not the same as being stupid.
Expressing a contrary opinion, whether to the individual or the group, is more often a sign of deeper thought than of cantankerous belligerence.
Do not mistake your goals as the only goals; your opinion as the only opinion; your confidence as correctness. Saying you know better is not the same as explaining you know better.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: RFC: Tool::Box
by diotalevi (Canon) on Nov 22, 2004 at 15:10 UTC | |
|
Re^8: RFC: Tool::Box
by Limbic~Region (Chancellor) on Nov 22, 2004 at 14:56 UTC |