keyed
# given [1..5]
$array->keyed('a'..'d'); # {a=>1,b=>2,c=>3,d=>4}
The keyed method returns a hash reference where the arguments become the keys, and the elements of the array become the values. This method returns a Data::Object::Hash object.
keyed(Str $arg1) : HashObject
method
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 26:
Unknown directive: =signature
- Around line 30:
Unknown directive: =type