This file is indexed.

/usr/share/perl5/KiokuDB/TypeMap/Entry/Std/Compile.pm is in libkiokudb-perl 0.57-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
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
package KiokuDB::TypeMap::Entry::Std::Compile;
BEGIN {
  $KiokuDB::TypeMap::Entry::Std::Compile::AUTHORITY = 'cpan:NUFFIN';
}
$KiokuDB::TypeMap::Entry::Std::Compile::VERSION = '0.57';
use Moose::Role;
# ABSTRACT: Provides a compile implementation

use KiokuDB::TypeMap::Entry::Compiled;

use namespace::clean -except => 'meta';

requires qw(
    compile_collapse
    compile_expand
    compile_id
    compile_refresh
);

sub compile {
    my ( $self, $class, @args ) = @_;

    $self->new_compiled(
        collapse_method => $self->compile_collapse($class, @args),
        expand_method   => $self->compile_expand($class, @args),
        id_method       => $self->compile_id($class, @args),
        refresh_method  => $self->compile_refresh($class, @args),
        class           => $class,
    );
}

sub new_compiled {
    my ( $self, @args ) = @_;

    KiokuDB::TypeMap::Entry::Compiled->new(
        entry           => $self,
        @args,
    );
}

__PACKAGE__

__END__

=pod

=encoding UTF-8

=head1 NAME

KiokuDB::TypeMap::Entry::Std::Compile - Provides a compile implementation

=head1 VERSION

version 0.57

=head1 SYNOPSIS

TODO

=head1 DESCRIPTION

This role provides an implementation for L<KiokuDB::TypeMap::Entry/compile> by
breaking down its requirements into four separated methods.

=head1 REQUIRED METHODS

=over 4

=item compile_collapse

Must return a code reference or method name.  The calling conventions for this
method are described in L<KiokuDB::TypeMap::Entry::Compiled/collapse_method>.

=item compile_expand

Must return a code reference or method name.  The calling conventions for this
method are described in L<KiokuDB::TypeMap::Entry::Compiled/expand_method>.

=item compile_id

Must return a code reference or method name.  The calling conventions for this
method are described in L<KiokuDB::TypeMap::Entry::Compiled/id_method>.

=item compile_refresh

Must return a code reference or method name.  The calling conventions for this
method are described in L<KiokuDB::TypeMap::Entry::Compiled/refresh_method>.

=back

=head1 SEE ALSO

L<KiokuDB::TypeMap::Entry::Compiled>

=head1 AUTHOR

Yuval Kogman <nothingmuch@woobling.org>

=head1 COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

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

=cut