/usr/share/perl5/Object/Remote/Proxy.pm is in libobject-remote-perl 0.004000-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 | package Object::Remote::Proxy;
use strictures 1;
use Carp qw(croak);
sub AUTOLOAD {
my $self = shift;
(my $method) = (our $AUTOLOAD =~ /([^:]+)$/);
my $to_fire = $self->{method};
if ((caller(0)||'') eq 'start') {
$to_fire = "start::${to_fire}";
}
unless ($self->{remote}->is_valid) {
croak "Attempt to use Object::Remote::Proxy backed by an invalid handle";
}
$self->{remote}->$to_fire($method => @_);
}
sub DESTROY { }
1;
|