This file is indexed.

/usr/share/perl5/Graph/Easy/Util.pm is in libgraph-easy-perl 0.76-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
40
41
42
43
44
45
46
47
48
49
50
package Graph::Easy::Util;

use strict;
use warnings;

use base 'Exporter';

our @EXPORT_OK = (qw(first_kv ord_values));

use List::Util qw(minstr);

=head1 FUNCTIONS

=head2 first_kv($hash_ref)

The first key value pair from a hash reference - lexicographically.

=cut

sub first_kv
{
    my $href = shift;

    my $n = minstr( keys(%$href) );
    my $v = $href->{$n};

    return ($n, $v);
}

=head2 ord_values($hash_ref)

The values of the hash ordered by a lexicographical keyname.

=cut

sub ord_values
{
    my $href = shift;

    if ((!defined $href) || (! %$href))
    {
        return (wantarray ? () : 0);
    }
    else
    {
        return (wantarray ? @{$href}{sort keys( %$href )} : scalar(keys(%$href)));
    }
}

1;