Debian Codegraph @

cpan/Test-Harness/t/lib/MyCustom.pm

raw
1 # avoid cut-n-paste exhaustion with this mixin
2
3 package MyCustom;
4 use strict;
5 use warnings;
6
7 sub custom {
8 my $self = shift;
9 $main::CUSTOM{ ref($self) || $self }++;
10 return $self;
11 }
12
13 1;