/usr/lib/perl5/DateTime/Helpers.pm is in libdatetime-perl 2:0.7000-1build1.
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 | package DateTime::Helpers;
BEGIN {
$DateTime::Helpers::VERSION = '0.70';
}
use strict;
use warnings;
use Scalar::Util ();
sub can {
my $object = shift;
my $method = shift;
return unless Scalar::Util::blessed($object);
return $object->can($method);
}
sub isa {
my $object = shift;
my $method = shift;
return unless Scalar::Util::blessed($object);
return $object->isa($method);
}
1;
|