Skip Menu |

This queue is for tickets about the PPR CPAN distribution.

Report information
The Basics
Id: 122160
Status: resolved
Priority: 0/
Queue: PPR

People
Owner: Nobody in particular
Requestors: MAUKE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.000005
Fixed in: (no value)



Subject: PPR gets confused about multiple heredocs using the same terminator
$ cat try.pl #!/usr/bin/env perl use strict; use warnings; use PPR; my $code = <<'_EOT_'; <<A . <<A; ) A ] A _EOT_ $code =~ m{ \A (?&PerlDocument) \z $PPR::GRAMMAR }x or warn "Not valid Perl according to PPR"; print eval $code; die $@ if $@; __END__ $ perl try.pl Not valid Perl according to PPR at try.pl line 15. ) ] $
Subject: Re: [rt.cpan.org #122160] PPR gets confused about multiple heredocs using the same terminator
Date: Mon, 26 Jun 2017 08:25:14 +1000
To: bug-PPR [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Thanks, Lukas. This bug is now fixed in the latest release (which I just uploaded). Much appreciated! Damian