Subject: | MooseX::Method::Signatures new parse error |
This is likely a D::D issue not MXMS, so I'm filing this here too:
https://rt.cpan.org/Ticket/Display.html?id=71528
Show quoted text
> After upgrading Devel::Declare to 0.006007 and B::Hooks::OP::Check to
0.19 (other things were upgraded at the same time, but this *appears* to
be the only modules that are relevant), a method declaration must now
have all its args on the same line:
Show quoted text>
> This fails:
> $ perl -MCarp::Always mxms.pl
> Undefined subroutine &Foo::o called at mxms.pl line 10
> $ cat mxms.pl
> {
> package Foo;
> use strict;
> use warnings;
>
> use MooseX::Method::Signatures;
>
> method blah($this: Bool :$arg!,
> Bool :$arg2) {
> }
> }
>
> But this works:
> $ perl -MCarp::Always mxms.pl
> $ cat mxms.pl
> {
> package Foo;
> use strict;
> use warnings;
>
> use MooseX::Method::Signatures;
>
> method blah($this: Bool :$arg!, Bool :$arg2) {
> }
> }
>
>
> perl version is 5.8.8, i386 linux.