This file is indexed.

/usr/share/perl5/Socialtext/WikiObject/PreBlock.pm is in libsocialtext-resting-utils-perl 0.21-3.

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
57
58
59
60
61
package Socialtext::WikiObject::PreBlock;
use strict;
use warnings;
use base 'Socialtext::WikiObject';

=head1 NAME

Socialtext::WikiObject::PreBlock - Parse out the first '.pre' block

=cut

our $VERSION = '0.01';

=head1 METHODS

=head2 parse_wikitext()

Override parent method to load the pre block

=cut

sub parse_wikitext {
    my $self = shift;
    my $wikitext = shift;

    # Load the YAML
    $wikitext =~ s/^.*?\.pre\n(.+)\.pre.+$/$1/s;
    chomp $wikitext;
    $wikitext .= "\n";
    $self->{_pre_block} = $wikitext;
}

=head2 pre_block

Return the parsed .pre block

=cut

sub pre_block { $_[0]->{_pre_block} }

=head1 AUTHOR

Luke Closs, C<< <luke.closs at socialtext.com> >>

=head1 BUGS

Please report any bugs or feature requests to
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Socialtext-Resting-Utils>.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.

=head1 COPYRIGHT & LICENSE

Copyright 2007 Luke Closs, all rights reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=cut

1;