1 2 3 4 5 6 | { my $a = sub { print 1; }; } $a.(); # fails |
ewogIG15ICRhID0gc3ViIHsKICAgIHByaW50IDE7CiAgfTsKfQokYS4oKTsgIyBmYWlscw==
===SORRY!=== Symbol '$a' not predeclared in <anonymous> (prog.p6:6)
-
result: Compilation error (maybe you wish to see an example for Perl 6)


