- or download this
Legal in perl5:
...
my $foo = foo (1); # C
my $foo = foo ( 1 # D
);
- or download this
my $foo = $object->method (1)
->method (2)
->method (3);
- or download this
my $foo = $object.method(1)
.method(2)
.method(3);
- or download this
$ cat t.pl
use v6;
...
statement end
statement modifier
statement modifier loop
- or download this
cat t.pl
use v6;
...
.say;
$ perl6 t.pl
C.new(x => -1)