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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-RT-Original-Encoding: utf-8
Content-Type: multipart/mixed; boundary="----------=_1364235459-22479-4"
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 312
Download (untitled) / with headers
text/plain 312b
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
MIME-Version: 1.0
Content-Type: text/x-perl; name="bug.pl"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline; filename="bug.pl"
Content-Transfer-Encoding: binary
Content-Length: 242
Download bug.pl
text/x-perl 242b
#!/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;


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.