This file is indexed.

/usr/share/perl5/Text/Trac/Dl.pm is in libtext-trac-perl 0.15-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 Text::Trac::Dl;

use strict;
use base qw(Text::Trac::BlockNode);

sub init {
    my $self = shift;
    $self->pattern(qr/^\s+(.*)::$/xms);
}

sub parse {
    my ( $self, $l ) = @_;
    my $c = $self->{context};
    my $pattern = $self->pattern;

    if( !@{$c->in_block_of} or $c->in_block_of->[-1] ne 'dl' ){
        $c->htmllines('<dl>');
        push @{$c->in_block_of}, 'dl';
    }

    $c->unshiftline;
    while($c->hasnext){
        last if( $c->nextline  =~ /^$/ );
        my $l = $c->shiftline;

        if( $l =~ /$pattern/ ){
            if ( $c->in_block_of->[-1] eq 'dd' ){
                $l = "</dd>\n<dt>$1</dt>";
                pop @{$c->in_block_of};
            }
            else {
                $l = "<dt>$1</dt>";
            }
        }
        else {
            $l =~ s/^\s+//g;
            if( $c->in_block_of->[-1] ne 'dd' ){
                $l = "<dd>\n$l";
                push @{$c->in_block_of}, 'dd';
            }
        }
        $c->htmllines($l);
    }

    if ( $c->in_block_of->[-1] eq 'dd' ){
                $c->htmllines('</dd>');
                pop @{$c->in_block_of};
    }

    pop @{$c->in_block_of};
    $c->htmllines('</dl>');

    return;
}

1;