Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Mango::BSON::Code(3)  User Contributed Perl Documentation Mango::BSON::Code(3)

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
       Mango, Mojolicious::Guides, <http://mojolicio.us>.

perl v5.32.0			  2018-03-17		  Mango::BSON::Code(3)

NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | METHODS | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Mango::BSON::Code&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help