ext_parcel

Description

Returns a structure like the following:

{
data => [@{$items}],
total => $total || scalar @{$items}
}

Valid arguments are:

list - a list of anything you want to be in the data structure
total - whatever you want to say the total is. Defaults to size of
the list passed in.
(optional) config - a hashref containing root or total_property. root is the
key used to store the data under, total_property is the key used to
store the total under