/usr/share/perl5/auto/Data/Validate/is_odd.al is in libdata-validate-perl 0.09-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 | # NOTE: Derived from blib/lib/Data/Validate.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Data::Validate;
#line 720 "blib/lib/Data/Validate.pm (autosplit into blib/lib/auto/Data/Validate/is_odd.al)"
# -------------------------------------------------------------------------------
sub is_odd{
my $self = shift if ref($_[0]);
my $value = shift;
return unless defined(is_numeric($value));
my $untainted = is_integer($value);
return unless defined($untainted);
return $untainted if $value % 2;
return;
}
# end of Data::Validate::is_odd
1;
|