# New Ticket Created by Hongwen Qiu # Please include the string: [perl #79002] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=79002 >
$ cat A.pm class A; has $.a syntax error; $ perl6 A.pm ===SORRY!=== Confused at line 1, near "class A;\n\n" So, why line 1. Isn't the syntax error introduced on line 3? $ cat A.pm class A { has $.a syntax error; } $ perl6 A.pm ===SORRY!=== Unable to parse blockoid, couldn't find final '}' at line 2 We definitely have a '}' at line 3. And finally, $ perl6 --version This is Rakudo Perl 6, version 2010.10-12-g2c66f9a built on parrot 2.9.1 r49794 Copyright 2008-2010, The Perl Foundation