This file is indexed.

/usr/share/perl5/HTML/HTML5/Microdata/Strategy/Basic.pm is in libhtml-html5-microdata-parser-perl 0.100-2.

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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package HTML::HTML5::Microdata::Strategy::Basic;

use 5.010;
use strict;
use utf8;

our $AUTHORITY = 'cpan:TOBYINK';
our $VERSION   = '0.100';

use URI::Escape qw[uri_escape];

sub new
{
	my ($class=>%params) = @_;
	bless \%params, $class;
}

sub make_uri
{
	my ($self=>%params) = @_;
	
	if ($self->is_uri($params{name}))
	{
		return $params{name};
	}
	elsif (not length ($params{type}//''))
	{
		return undef unless $params{prefix_empty};
		return $params{prefix_empty}.uri_escape($params{name});
	}
	
	return;
}

sub is_uri
{
	my ($self=>$uri) = @_;
	return ($uri =~ /:/);
}

sub postprocess_uri
{
	my ($self=>$uri, $params) = @_;
	return $uri;
}

sub generate_uri
{
	my ($self=>%params) = @_;
	my $uri = $self->make_uri(%params);
	return undef unless defined $uri;
	return $self->postprocess_uri($uri, \%params);
}

1;