Skip Menu |

This queue is for tickets about the Method-Signatures-Simple CPAN distribution.

Report information
The Basics
Id: 80508
Status: resolved
Priority: 0/
Queue: Method-Signatures-Simple

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

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



Subject: space between invocant and colon causes syntax error
$ cat bug/invocant-space #!perl use Method::Signatures::Simple; method foo($this : $x, $y) {} __END__ $ perl bug/invocant-space syntax error at bug/invocant-space line 3, near "$this :" Execution of bug/invocant-space aborted due to compilation errors. Space between $this and : causes a syntax error.
On Tue Oct 30 18:53:27 2012, MAUKE wrote: Show quoted text
> $ cat bug/invocant-space > #!perl > use Method::Signatures::Simple; > method foo($this : $x, $y) {} > __END__ > $ perl bug/invocant-space > syntax error at bug/invocant-space line 3, near "$this :" > Execution of bug/invocant-space aborted due to compilation errors. > > Space between $this and : causes a syntax error.
Thanks for the report. Spaces will be allowed before the colon in the next release. Rhesa