On Sun Jun 08 22:07:11 2008, user42@zip.com.au wrote:
Show quoted text> "Adam Kennedy via RT" <bug-PPI@rt.cpan.org> writes:
> >
> > As I understand it, v-numbers have been deprecated from the language.
>
> I'm not disagreeing that they're a case of a bad thing made worse, but
> "use v5.6.1" does appear in the perlfunc man page, so it could be nice
> to parse it.
PPI 1.215 seems to parse it. Are the results as expected?
ppidump 'use v5.6.1;'
PPI::Document
PPI::Statement::Include
[ 1, 1, 1 ] PPI::Token::Word 'use'
[ 1, 5, 5 ] PPI::Token::Number::Version 'v5.6.1'
[ 1, 11, 11 ] PPI::Token::Structure ';'