/usr/lib/perl5/Moose/Meta/Method/Accessor/Native/Hash.pm is in libmoose-perl 2.1005-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 | package Moose::Meta::Method::Accessor::Native::Hash;
BEGIN {
$Moose::Meta::Method::Accessor::Native::Hash::AUTHORITY = 'cpan:STEVAN';
}
{
$Moose::Meta::Method::Accessor::Native::Hash::VERSION = '2.1005';
}
use strict;
use warnings;
use Moose::Role;
sub _inline_check_var_is_valid_key {
my $self = shift;
my ($var) = @_;
return (
'if (!defined(' . $var . ')) {',
$self->_inline_throw_error(
'"The key passed to ' . $self->delegate_to_method
. ' must be a defined value"',
) . ';',
'}',
);
}
no Moose::Role;
1;
|