Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic-Tics CPAN distribution.

Report information
The Basics
Id: 41879
Status: resolved
Priority: 0/
Queue: Perl-Critic-Tics

People
Owner: Nobody in particular
Requestors: aaron [...] priven.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.005
Fixed in: (no value)



Subject: ProhibitLongLines should exempt lines after __END__ or __DATA__
It seems to me that ProhibitLongLines should exempt lines after __END__ or __DATA__. But it does not.
Subject: longlinestest.pl
use warnings; use strict; package zippy; sub zippy { print "Zippy!"; } __END__ This here is a really long line that should mean nothing at all to Perl and indeed does nothing at all except be here taking up space, but ProhibitLongLines will have an error.
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #41879] ProhibitLongLines should exempt lines after __END__ or __DATA__
Date: Mon, 22 Dec 2008 14:17:38 -0500
To: Aaron Priven via RT <bug-Perl-Critic-Tics [...] rt.cpan.org>
From: Ricardo SIGNES <rjbs [...] cpan.org>
* Aaron Priven via RT <bug-Perl-Critic-Tics@rt.cpan.org> [2008-12-22T14:04:45] Show quoted text
> It seems to me that ProhibitLongLines should exempt lines after __END__ > or __DATA__. But it does not.
Great catch. Patches welcome! Otherwise, I'll get to this next time (a) I'm looking at Tics or (b) when it bites me. ;) -- rjbs
fixed -- rjbs