The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Mojo::Autobox::Array - Autobox array methods for Mojo::Autobox

SYNOPSIS

 use Mojo::Autobox;

 # "a"
 [qw/a b c/]->collection->first;

 # '["x", "y", "z"]'
 @array = (qw/x y z/);
 @array->json;

DESCRIPTION

Array methods for Mojo::Autobox. These methods also apply to array references.

METHODS

collection

Returns an instance of Mojo::Collection, contructed from the elements of the invocant array.

json

Serializes the invovant array using "encode_json" in Mojo::JSON and returns the result.

j

An alias for "json".

1 POD Error

The following errors were encountered while parsing the POD:

Around line 54:

'=end' without a target?