get
# given {1..8}
$hash->get(5); # 6
The get method returns the value of the element in the hash whose key corresponds to the key specified in the argument. This method returns a data type object to be determined after execution.
get(Str $arg1) : 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 20:
Unknown directive: =description
- Around line 26:
Unknown directive: =signature
- Around line 30:
Unknown directive: =type