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> |
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 ...)