Skip Menu |

This queue is for tickets about the Perl6-Subs CPAN distribution.

Report information
The Basics
Id: 33606
Status: new
Priority: 0/
Queue: Perl6-Subs

People
Owner: Nobody in particular
Requestors: dsnopek [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.05
Fixed in: (no value)



Subject: sub foo : method { } gives compile time error(s)
The follow script: ===== use Perl6::Subs; use strict; sub foo : method { } ===== Gives me: Invalid CODE attribute: sub at test.pl line 6 BEGIN failed--compilation aborted at test.pl line 9. Using the following alternative syntax seems to work for me: method foo { } I'm running perl 5.8.8 on Debian Etch. This is similar (but different) than ticket #16969: http://rt.cpan.org/Ticket/Display.html?id=16969