Closed moregan closed 9 years ago
My thoughts for this case are that either we should:
1) accept the parse as above, in the PPI spirit of trying to produce something logical when presented with a mystery, or
2) acknowledge that what we have looks like an attribute gone wrong, and force 'Attr1' to be a Word rather than pretend we have a good attribute.
I am leaning towards (1)
Closing this until #129 has some kind of decision.
perl treats a space between an attribute name and its parameters as a syntax error, but PPI 1.220 still creates a PPI::Token::Attribute:
Wouldn't it be better to omit a PPI::Token::Word instead?