/usr/share/perl5/Carton/Dependency.pm is in carton 1.0.12-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 | package Carton::Dependency;
use Moo;
use warnings NONFATAL => 'all';
has module => (is => 'rw');
has requirement => (is => 'rw');
has dist => (is => 'rw', handles => [ qw(requirements) ]);
sub distname {
my $self = shift;
$self->dist->name;
}
sub version {
my $self = shift;
$self->dist->version_for($self->module);
}
1;
|