cast

# given [1..4]

my $array = cast([1..4]); # Data::Object::Array

The cast function returns a Data::Object for the data provided. If the data passed is blessed then that same object will be returned.

cast(Any $arg1) : Any

function

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 20:

Unknown directive: =description

Around line 25:

Unknown directive: =signature

Around line 29:

Unknown directive: =type