/usr/share/perl5/Carton/Mirror.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 20 21 22 23 24 | package Carton::Mirror;
use Moo;
use warnings NONFATAL => 'all';
our $DefaultMirror = 'http://cpan.metacpan.org/';
has url => (is => 'ro');
sub BUILDARGS {
my($class, $url) = @_;
return { url => $url };
}
sub default {
my $class = shift;
$class->new($DefaultMirror);
}
sub is_default {
my $self = shift;
$self->url eq $DefaultMirror;
}
1;
|