This file is indexed.

/usr/share/perl5/Stream/Buffered/Auto.pm is in libstream-buffered-perl 0.03-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 Stream::Buffered::Auto;
use strict;
use warnings;
use base 'Stream::Buffered';

sub new {
    my($class, undef, $max_memory_size) = @_;
    bless {
        _buffer => Stream::Buffered->create('PerlIO'),
        _max => $max_memory_size,
    }, $class;
}

sub print {
    my $self = shift;
    $self->{_buffer}->print(@_);

    if ($self->{_max} && $self->{_buffer}->size > $self->{_max}) {
        my $buf = $self->{_buffer}->{buffer};
        $self->{_buffer} = Stream::Buffered->create('File'),
        $self->{_buffer}->print($buf);
        delete $self->{_max};
    }
}

sub size {
    my $self = shift;
    $self->{_buffer}->size;
}

sub rewind {
    my $self = shift;
    $self->{_buffer}->rewind;
}

1;