This file is indexed.

/usr/share/perl5/Prophet/Web/Result.pm is in libprophet-perl 0.750-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
package Prophet::Web::Result;
use Any::Moose;

use Prophet::Web::FunctionResult;

=head1 NAME

Prophet::Web::Result

=head1 METHODS

=head1 DESCRIPTION

=cut

=head1 METHODS

=cut

has success => ( isa => 'Bool', is => 'rw');
has message => ( isa => 'Str', is => 'rw');
has functions => (
             is        => 'rw',
             isa       => 'HashRef',
             default   => sub { {} },
);

sub get    { $_[0]->functions->{$_[1]} }
sub set    { $_[0]->functions->{$_[1]} = $_[2] }
sub exists { exists $_[0]->functions->{$_[1]} }
sub items  { keys %{ $_[0]->functions } }

__PACKAGE__->meta->make_immutable;
no Any::Moose;

1;