Environment:
* Linux 2.6.35-ARCH
* perl 5, version 12, subversion 1 (v5.12.1)
* MooseX::Method::Signatures - version 0.35
Problem:
The method is not created in the package if curly brace is placed on a
new line.
Example:
# in AA.pm
use MooseX::Declare;
class AA {
method aa ($class:)
{
return 1;
}
}
1;
# in shell
$ perl -MAA -e 'print AA->aa()'
Can't locate object method "aa" via package "AA" at -e line 1.