Subject: | Curlys in 'use constant 1.1 { One => 1 }' parsed as block, not constructor. |
PPI version 1.206 parses the curlys in 'use constant { One => 1 }' as a
PPI::Structure::Constructor, thanks to special-case code in PPI::Lexer.
But in 'use constant 1.1 { One => 1 }' the curlys are still parsed as a
PPI::Structure::Block.
SVN revision 8860 contains a proposed fix for this (tweaking the
special-case code), and some extra tests in t/ppi_statement_include.t to
demonstrate the behavior.
Thank you very much for PPI in general, and for your time and attention
on this particular matter.
Tom Wyant