- or download this
$object->method($a,@b,%c);
method $object: $a, @b, %c;
- or download this
\($object: $a, @b, %c)
- or download this
sub foo (Num Dog|Cat $numdog, MySig \$a ($i,$j,$k,$mousestatus)) {
+...}
- or download this
foo($mynumdog, \(1, 2.7182818, 1.0i, :mice($ms))
- or download this
foo($mynumdog, \(1, 2.7182818, 1.0i, $ms)
- or download this
@x[f()] = g(); # list context for f() and g()
@x[f()] = +g(); # list context for f(), scalar context for g()
@x[+f()] = g(); # scalar context for f() and g()