each_key
# given {1..8}
$hash->each_key(fun ($key) {
...
});
The each_key method iterates over each element in the hash, executing the code reference supplied in the argument, passing the routine the key at the current position in the loop. This method returns a Data::Object::Hash object.
each(CodeRef $arg1, Any @args) : Any
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 22:
Unknown directive: =description
- Around line 28:
Unknown directive: =signature
- Around line 32:
Unknown directive: =type