/usr/share/perl5/Monkey/Patch/Handle/Class.pm is in libmonkey-patch-perl 0.03-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | package Monkey::Patch::Handle::Class;
BEGIN {
$Monkey::Patch::Handle::Class::VERSION = '0.03';
}
use strict;
use warnings;
use base 'Monkey::Patch::Handle';
use SUPER;
sub call_default {
my $self = shift;
my $class = $self->{package};
my ($super) = SUPER::find_parent($class, $self->{subname});
goto &$super if $super;
return;
}
1;
=head1 NAME
Monkey::Patch::Handle::Class - Handle for monkey-patching classes
=head1 DESCRIPTION
Monkey::Patch::Handle::Class provides the default Monkey::Patch::Handle
for monkey-patching a whole class.
You should never need to use this directly, so read L(Monkey::Patch)
instead.
=pod
=begin Pod::Coverage
.*
=end Pod::Coverage
|