package Increment; use base qw(Exporter); @EXPORT = qw(increment); sub increment { $_[0]++ } # (...)
But when you come to things like a min/max function or a slurp function, there is more room for debate. While I'll happily use the functions in List::Util because they are part of the core (at least if I'm targetting perl-5.8.0+), I just never use any of the file slurping modules on CPAN. Adding another dependency for something that I can write in one line of code seems utterly unnecessary.
In reply to Re: RFC: Tool::Box
by itub
in thread RFC: Tool::Box
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |