This will ignore the last result and return Nil instead:
sub foo ( $_ --> Nil ) {…}
If you specify a type instead, it only enforces that the result is of that type.
This will ignore the last result and return Nil instead:
This only works with literals, constants and Nil.If you specify a type instead, it only enforces that the result is of that type.