-
-
17 Mar 2018 15:28:07 UTC
- Distribution: Mango
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (969 / 100 / 64)
- Kwalitee
Bus factor: 5- 39.92% Coverage
- License: artistic_2
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (49.88KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Mojolicious
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Mango::BSON::Code - Code type
SYNOPSIS
use Mango::BSON::Code; my $code = Mango::BSON::Code->new(code => 'function () {}');
DESCRIPTION
Mango::BSON::Code is a container for the BSON code type used by Mango::BSON.
ATTRIBUTES
Mango::BSON::Code implements the following attributes.
code
my $js = $code->code; $code = $code->code('function () {}');
JavaScript code.
scope
my $scode = $code->scope; $code = $code->scope({foo => 'bar'});
Scope.
METHODS
Mango::BSON::Code inherits all methods from Mojo::Base.
SEE ALSO
Module Install Instructions
To install Mango, copy and paste the appropriate command in to your terminal.
cpanm Mango
perl -MCPAN -e shell install Mango
For more information on module installation, please visit the detailed CPAN module installation guide.