Skip Menu |

This queue is for tickets about the MooseX-Declare CPAN distribution.

Report information
The Basics
Id: 84202
Status: new
Priority: 0/
Queue: MooseX-Declare

People
Owner: Nobody in particular
Requestors: POULHS [...] cpan.org
Cc:
AdminCc:

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



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;