This file is indexed.

/usr/share/perl5/Data/AMF/Parser.pm is in libdata-amf-perl 0.09-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
package Data::AMF::Parser;
use strict;
use warnings;

use Data::AMF::Parser::AMF0;
use Data::AMF::Parser::AMF3;

sub new {
    my $class = shift;
    my $args  = @_ > 1 ? {@_} : $_[0];
	
    return ($args->{version} || 0) == 3
	  ? 'Data::AMF::Parser::AMF3'
	  : 'Data::AMF::Parser::AMF0';
}

1;

__END__

=head1 NAME
 
Data::AMF::Parser - deserializer proxy class

=head1 SYNOPSIS

my $amf3_parser_class = Data::AMF::Parser->new( version => 3 );
my $amf0_parser_class = Data::AMF::Parser->new( version => 0 ); # or just new without option

=head1 METHODS

=head2 new

=head1 AUTHOR

Daisuke Murase <typester@cpan.org>

=head1 COPYRIGHT

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

The full text of the license can be found in the
LICENSE file included with this module.

=cut