GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  MANGO::BSON::CODE (3)

.ds Aq ’

NAME

Mango::BSON::Code - Code type

CONTENTS

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

Mango, Mojolicious::Guides, <http://mojolicio.us>.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 MANGO::BSON::CODE (3) 2015-12-02

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.