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: 36556
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: v-number parse
Date: Sun, 08 Jun 2008 08:36:57 +1000
To: bug-PPI [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
In ppi 1.203 and the debian packaged perl 5.10 a line use v5.6.1; (as shown in perlfunc under "use") parses as PPI::Document PPI::Statement::Include PPI::Token::Word 'use' PPI::Token::Word 'v5' PPI::Token::Number::Version '.6.1' PPI::Token::Structure ';' where I hoped the v number string would be in one piece.
Subject: Re: [rt.cpan.org #36556] v-number parse
Date: Mon, 9 Jun 2008 11:34:26 +1000
To: bug-PPI [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
As I understand it, v-numbers have been deprecated from the language. Adam K 2008/6/8 Kevin Ryde via RT <bug-PPI@rt.cpan.org>: Show quoted text
> Sat Jun 07 18:37:32 2008: Request 36556 was acted upon. > Transaction: Ticket created by user42@zip.com.au > Queue: PPI > Subject: v-number parse > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: user42@zip.com.au > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36556 > > > > In ppi 1.203 and the debian packaged perl 5.10 a line > > use v5.6.1; > > (as shown in perlfunc under "use") parses as > > PPI::Document > PPI::Statement::Include > PPI::Token::Word 'use' > PPI::Token::Word 'v5' > PPI::Token::Number::Version '.6.1' > PPI::Token::Structure ';' > > where I hoped the v number string would be in one piece. > >
Subject: Re: [rt.cpan.org #36556] v-number parse
Date: Mon, 09 Jun 2008 12:06:35 +1000
To: bug-PPI [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
"Adam Kennedy via RT" <bug-PPI@rt.cpan.org> writes: Show quoted text
> > 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.
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 ';'
Subject: Re: [rt.cpan.org #36556] v-number parse
Date: Sun, 16 Feb 2014 11:55:28 +1100
To: bug-PPI [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
" via RT" <bug-PPI@rt.cpan.org> writes: Show quoted text
> > PPI 1.215 seems to parse it. Are the results as expected?
Yep, beaut.
Since this is fixed, i'm closing it. :)