use warnings;
use Carp qw/croak/;
-use List::Util qw/reduce/;
use B qw/class ppname svref_2object OPf_KIDS/;
return $r;
}
-sub add {
- reduce {
- $a->{$_} += $b->{$_} for keys %$b;
- $a
- } map { (ref) ? $_ : { $_ => 1 } } grep defined, @_;
-}
-
my %ops;
$ops{$_} = 1 for scalops;
L<perl> 5.8.1.
-L<Carp> (standard since perl 5), L<B> (since perl 5.005), L<XSLoader> (since perl 5.006) and L<List::Util> (since perl 5.007003).
+L<Carp> (standard since perl 5), L<B> (since perl 5.005) and L<XSLoader> (since perl 5.006).
=head1 AUTHOR