This file is indexed.

/usr/share/perl5/NetApp/Filer/Version.pm is in libnetapp-perl 500.002-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
51
52
53
54
55
56
package NetApp::Filer::Version;

our $VERSION = '500.002';
$VERSION = eval $VERSION;  ##  no critic: StringyEval

use strict;
use warnings;
use Carp;

use Class::Std;
use Params::Validate qw( :all );
use Data::Dumper;

use overload '""' => 'get_string';

{

    my %string_of	:ATTR( get => 'string' );

    my %release_of	:ATTR( get => 'release' );

    my %major_of	:ATTR( get => 'major' );
    my %minor_of	:ATTR( get => 'minor' );
    my %subminor_of	:ATTR( get => 'subminor' );
    my %patchlevel_of	:ATTR( get => 'patchlevel' );

    my %date_of		:ATTR( get => 'date' );

    sub BUILD {

        my ($self,$ident,$args_ref) = @_;

        my @args = %$args_ref;

        my (%args) 	= validate( @args, {
            string	=> { type	=> SCALAR },
        });

        $string_of{$ident}	= $args{string};

        $args{string} =~
            m{ NetApp \s+ Release \s+ (\S+) : \s+ (.*) }gmx ||
                   croak ("Invalid version string: $args{string}\n");

        $release_of{$ident}	= $1;
        $date_of{$ident}	= $2;

        ( $major_of{$ident}, 	$minor_of{$ident},
          $subminor_of{$ident},	$patchlevel_of{$ident} ) =
              split( /[\.L]+/, $release_of{$ident} );

    }

}

1;