/usr/share/perl5/Mango/BSON/Code.pm is in libmango-perl 1.29-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 | package Mango::BSON::Code;
use Mojo::Base -base;
has [qw(code scope)];
1;
=encoding utf8
=head1 NAME
Mango::BSON::Code - Code type
=head1 SYNOPSIS
use Mango::BSON::Code;
my $code = Mango::BSON::Code->new(code => 'function () {}');
=head1 DESCRIPTION
L<Mango::BSON::Code> is a container for the BSON code type used by
L<Mango::BSON>.
=head1 ATTRIBUTES
L<Mango::BSON::Code> implements the following attributes.
=head2 code
my $js = $code->code;
$code = $code->code('function () {}');
JavaScript code.
=head2 scope
my $scode = $code->scope;
$code = $code->scope({foo => 'bar'});
Scope.
=head1 METHODS
L<Mango::BSON::Code> inherits all methods from L<Mojo::Base>.
=head1 SEE ALSO
L<Mango>, L<Mojolicious::Guides>, L<http://mojolicio.us>.
=cut
|