This file is indexed.

/usr/share/perl5/DEPS/Style.pm is in libdeps-perl 0.13-1.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
# This file is part of the DEPS/graph-includes package
#
# (c) 2006 Yann Dirson <ydirson@altern.org>
# Distributed under version 2 of the GNU GPL.

package DEPS::Style;

use warnings;
use strict;

use Hash::Util qw(lock_keys);
use Carp qw(croak);

sub new {
  my $class = shift;
  my $required = shift;
  my $optional = shift;
  my %args = @_;
  my $self = {};

  # import %args
  foreach my $key (keys %args) {
    if (grep { $key eq $_ } @$required, @$optional) {
      $self->{$key} = $args{$key};
    } else {
      croak "${class}::new does not understand attribute '$key'";
    }
  }

  # sanity check
  foreach my $key (@$required) {
    croak "no value provided for '$key'" unless defined $self->{$key};
  }

  bless ($self, $class);
  lock_keys (%$self);
  return $self;
}

1;