Subject: | All arguments must be on the same line |
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:
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.