Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 36993
Status: resolved
Priority: 0/
Queue: PPI

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: parse of 2*foo()
Date: Sun, 22 Jun 2008 09:02:00 +1000
To: bug-PPI [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Download (untitled) / with headers
text/plain 472b
PPI version 1.204_01 parses "2*foo()" as PPI::Document PPI::Statement PPI::Token::Number '2' PPI::Token::Symbol '*foo' PPI::Structure::List ( ... ) where I hoped the "*" might come back as a multiply operator not a typeglob thingie. I guess "*" is ambiguous, but after a number it would always be a multiply, would it? (I struck this in Perl::Critic::Dynamic which went digging for *foo instead of &foo ...)
Fixed, and regression test added.


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.