/usr/share/perl5/perl5i/0/DEFAULT.pm is in libperl5i-perl 2.12.0-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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | package perl5i::0::DEFAULT;
# Methods which apply to all autoboxed objects
use strict;
use warnings;
use Carp;
BEGIN {
@SCALAR::ISA = qw(DEFAULT);
@ARRAY::ISA = qw(DEFAULT);
@HASH::ISA = qw(DEFAULT);
@CODE::ISA = qw(DEFAULT);
}
sub DEFAULT::alias {
my $self = shift;
croak "Not enough arguments given to alias()" unless @_;
my @name = @_;
unshift @name, (caller)[0] unless @name > 1 or grep /::/, @name;
my $name = join "::", @name;
no strict 'refs';
*{$name} = $self;
return 1;
}
sub DEFAULT::is_number { return }
sub DEFAULT::is_positive { return }
sub DEFAULT::is_negative { return }
sub DEFAULT::is_int { return }
sub DEFAULT::is_integer { return }
sub DEFAULT::is_decimal { return }
1;
|