/usr/share/perl5/Tie/Simple/Util.pm is in libtie-simple-perl 1.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 | package Tie::Simple::Util;
use strict;
use warnings;
our $VERSION = '1.01';
# Copyright 2004 Andrew Sterling Hanenkamp. All Rights Reserved. This software
# is made available under the same terms as Perl itself.
sub _doit {
my $self = shift;
my $parent = shift;
my $method = shift;
if (defined $$self{subs}{$method}) {
$$self{subs}{$method}->($$self{data}, @_);
} elsif ($parent->can($method)) {
no strict 'refs';
my $sub = "$parent\::$method";
&{$sub}($self, @_);
}
}
1
|