Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla-Plugin-CoalescePod CPAN distribution.

Report information
The Basics
Id: 99440
Status: patched
Priority: 0/
Queue: Dist-Zilla-Plugin-CoalescePod

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

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



Subject: Inject before __END__ markers too
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-22131-1413067392-1131.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 99
The split pattern should be /(^__(?:DATA|END)__$)/m since __END__ markers act the same as __DATA__.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-22131-1413067392-1131.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-22131-1413067392-1131.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-15523-1413126498-523.99440-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 695
Download (untitled) / with headers
text/plain 695b
On Sat Oct 11 18:43:12 2014, TSIBLEY wrote: Show quoted text
> The split pattern should be /(^__(?:DATA|END)__$)/m since __END__ > markers act the same as __DATA__.
I'll be darned; I didn't know about __END__ and __DATA__ being interchangeable. I'll be more specific in the POD about the plugin's behavior, but I think I'll keep the current behavior. In most cases when peeps put __END__, it's really to indicate the end of the Perl code, and in those cases putting the POD after it is the right thing to do (and it seems that __END__ only has that special magic for the original calling script -- http://perldoc.perl.org/perldata.html#Special-Literals). In all cases, thanks for the heads up! Joy, `/anick


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.