- or download this
package Foo;
...
sub todo { shift->{todo} };
sub done { shift->{done} };
- or download this
package Bar;
use base qw(Foo);
...
$from->{todo}--;
};
};
- or download this
# Monitor the arguments of subroutines ...
my $monitor = monitor_arg
...
warn "removed item not added to done list in $subroutine\n"
if $removed > 0 && $removed != $done;
};
- or download this
use Carp;
use Storable qw(dclone);
...
};
return \@wrappers;
};
- or download this
my $o = Bar->new;
$o->add;
...
$from->add;
my $to = Ni->new;
$to->naughty_transfer($from);
- or download this
removed item not added to done list in Bar::naughty_remove
removed item not added to done list in Ni::naughty_transfer