Subject: | Handling of white-spaces in conjunction with module names needs to be improved |
use MooseX::Declare; class Baz with (Foo, Bar) {};
Whitespace should be optional, it is NOT allowed after '(' nor before ')' but is optional around the ',' (where it is washed away).
regards
ps
First reported as https://rt.cpan.org/Ticket/Display.html?id=84194, but it was closed with ref. to MooseX::Declare.
Subject: | bug.pl |
#!/usr/bin/perl
use MooseX::Declare;
role Foo { }
class Baz with ( Foo ) { }
# Foo is not a module name at ./bug.pl line 4.
# ^leading space
print $MooseX::Declare::VERSION,"\n";
# 0.35
# https://rt.cpan.org/Ticket/Display.html?id=84194
1;