xref: /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/lib/MyCustom.pm (revision de8cc8edbc71bd3e3bc7fbffa27ba0e564c37d8b)
1# avoid cut-n-paste exhaustion with this mixin
2
3package MyCustom;
4use strict;
5use warnings;
6
7sub custom {
8    my $self = shift;
9    $main::CUSTOM{ ref($self) || $self }++;
10    return $self;
11}
12
131;
14