Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

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

Report information
The Basics
Id: 88588
Status: open
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: paul.a.liebert [...] hp.com
Cc:
AdminCc:

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



Subject: INDEX END tag change in pod2html breaks perltidy -html
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.16-30277-1378835918-1274.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: 672
Download (untitled) / with headers
text/plain 672b
Running perltidy to generate html now produces error messages like Did not find INDEX END in pod2html output print() on closed filehandle STDOUT at /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. I have tracked this down to a change in pod2html. pod2html no longer issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around the index section. perltidy depends on these tags being present. This should reproduce the problem for any 'my_script' that has pod: perltidy -html -nnn -st my_script > my_html Perl::Tidy 1.74 Pod::Html 1.15_02 This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
From s7078hancock [...] gmail.com Tue Sep 10 18: 11:00 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.194.63.228 with SMTP id j4mr8153751wjs.34.1378851046625; Tue, 10 Sep 2013 15:10:46 -0700 (PDT)
Message-ID: <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="047d7ba97f3ad5175904e60ec657"
X-Spam-Score: -6.333
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id CA14224074D for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:11:00 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U4Odu7eWEPI3 for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:10:59 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 06C51240778 for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 18:10:58 -0400 (EDT)
Received: (qmail 17674 invoked by alias); 10 Sep 2013 22:10:58 -0000
Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com) (74.125.82.53) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 10 Sep 2013 15:10:51 -0700
Received: by mail-wg0-f53.google.com with SMTP id x12so4839542wgg.20 for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 15:10:46 -0700 (PDT)
Received: by 10.180.206.15 with HTTP; Tue, 10 Sep 2013 15:10:46 -0700 (PDT)
Delivered-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Return-Path: <s7078hancock [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=1KuVeoaCEf7lkq22Rs8QN/SrO1J7nh9BHUkJRzdQVV0=; b=nPKVWfeCu7IWtm6nBjesRu3Pj59aJJRkS2nIxvuNLL3rz0SvBgA/BTMYhgkvHsMRbd 3YRy+SKgdQlAt6owaRrVJEB/Wfv84ZDCXHCpSqIV5cA0KpQAe0tz3C6mGiTl1POJPI5i IKw3UH87lQuT3dRg903hmhewGnmykVl0bLfW4gBoNjKGv+SRZIHcuvS76HGlUdlmEC8j vLDu/CuHetx1a/NZUwzOwSsqwW2tvA0pTRH8e1IP/a4m2StO8e8CtRHrRiJqQCFFw/SZ PyMuCLuSyx/1Ihc4zixb36Ffjfu3p26pHUTPToKZmO+NN9nvWquIpKIa6BtvwzJcOofw KC5A==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-tidy
Date: Tue, 10 Sep 2013 15:10:46 -0700
X-Spam-Level:
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
RT-Message-ID: <rt-4.0.16-15024-1378851061-1857.88588-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 1491
Download (untitled) / with headers
text/plain 1.4k
Thanks, that's unfortunate. Pod::Html almost never changes. I haven't updated my Pod::Html yet to reproduce this, but do you think I could look for <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent </div> instead of <!-- INDEX END --> as the termination? Steve On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Tue Sep 10 13:58:38 2013: Request 88588 was acted upon. > Transaction: Ticket created by paauull > Queue: Perl-Tidy > Subject: INDEX END tag change in pod2html breaks perltidy -html > Broken in: 20130806 > Severity: (no value) > Owner: Nobody > Requestors: paul.a.liebert@hp.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > Running perltidy to generate html now produces error messages like > > Did not find INDEX END in pod2html output > print() on closed filehandle STDOUT at > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. > > I have tracked this down to a change in pod2html. pod2html no longer > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around > the index section. perltidy depends on these tags being present. > > This should reproduce the problem for any 'my_script' that has pod: > > perltidy -html -nnn -st my_script > my_html > > Perl::Tidy 1.74 > Pod::Html 1.15_02 > > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux > > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 2187
MIME-Version: 1.0
X-Spam-Flag: NO
X-Virus-Checked: Checked
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DACC1240778 for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:26:22 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bOlPFGcDBNzC for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:26:21 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 07FAC24074D for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 18:26:20 -0400 (EDT)
Received: (qmail 19413 invoked by alias); 10 Sep 2013 22:26:20 -0000
Received: from g4t0016.houston.hp.com (HELO g4t0016.houston.hp.com) (15.201.24.19) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 10 Sep 2013 15:26:14 -0700
Received: from G9W0364.americas.hpqcorp.net (g9w0364.houston.hp.com [16.216.193.45]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g4t0016.houston.hp.com (Postfix) with ESMTPS id 10F5117401 for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 22:26:09 +0000 (UTC)
Received: from G4W6303.americas.hpqcorp.net (16.210.26.228) by G9W0364.americas.hpqcorp.net (16.216.193.45) with Microsoft SMTP Server (TLS) id 14.3.123.3; Tue, 10 Sep 2013 22:24:26 +0000
Received: from G4W3295.americas.hpqcorp.net ([169.254.3.16]) by G4W6303.americas.hpqcorp.net ([16.210.26.228]) with mapi id 14.03.0123.003; Tue, 10 Sep 2013 22:24:27 +0000
Delivered-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
Subject: RE: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
X-Spam-Check-BY: la.mx.develooper.com
Thread-Index: AQHOrnKmmqh2i/Hvw0i9+UCn2wRI4pm/i9kQ
Date: Tue, 10 Sep 2013 22:24:26 +0000
X-Spam-Level:
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
Content-Transfer-Encoding: base64
From paul.a.liebert [...] hp.com Tue Sep 10 18: 26:22 2013
In-Reply-To: <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org>
X-Spam-Status: No, score=-6.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
X-RT-Interface: API
Content-Language: en-US
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org> <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com> <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org>
Message-ID: <CD4B29DCE5902F4298193C34A5EBF9FB84B1A6D1 [...] G4W3295.americas.hpqcorp.net>
X-MS-Tnef-Correlator:
Return-Path: <paul.a.liebert [...] hp.com>
X-RT-Mail-Extension: perl-tidy
X-Original-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
X-MS-Has-Attach:
Thread-Topic: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
X-Originating-Ip: [16.210.48.37]
Accept-Language: en-US
From: "Liebert, Paul A" <paul.a.liebert [...] hp.com>
RT-Message-ID: <rt-4.0.16-12788-1378851983-826.88588-0-0 [...] rt.cpan.org>
Content-Length: 3889
Download (untitled) / with headers
text/plain 3.7k
There is no <div> tag, sorry. Here are the two snippets This version works with Perl::Tidy Pod::Html VERSION 1.0504 <body style="background-color: white"> <p><a name="__index__"></a></p> <!-- INDEX BEGIN --> <ul> <li><a href="#name">NAME</a></li> <li><a href="#synopsis">SYNOPSIS</a></li> <li><a href="#description">DESCRIPTION</a></li> <li><a href="#files">FILES</a></li> <li><a href="#options">OPTIONS</a></li> <li><a href="#pattern_capabilities">PATTERN CAPABILITIES</a></li> <li><a href="#function_capabilities">FUNCTION CAPABILITIES</a></li> <li><a href="#mda">MDA</a></li> <li><a href="#environment">ENVIRONMENT</a></li> <li><a href="#exit_status">EXIT STATUS</a></li> <li><a href="#see_also">SEE ALSO</a></li> <li><a href="#license_and_copyright">LICENSE AND COPYRIGHT</a></li> </ul> <!-- INDEX END --> <hr /> <p> </p> <hr /> <h1><a name="name">NAME</a></h1> ---------------------------------------------------------------------- This version is missing the INDEX comments and is broken Pod::Html VERSION 1.15_02 <body style="background-color: white"> <ul id="index"> <li><a href="#NAME">NAME</a></li> <li><a href="#SYNOPSIS">SYNOPSIS</a></li> <li><a href="#DESCRIPTION">DESCRIPTION</a></li> <li><a href="#FILES">FILES</a></li> <li><a href="#OPTIONS">OPTIONS</a></li> <li><a href="#PATTERN-CAPABILITIES">PATTERN CAPABILITIES</a></li> <li><a href="#FUNCTION-CAPABILITIES">FUNCTION CAPABILITIES</a></li> <li><a href="#MDA">MDA</a></li> <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li> <li><a href="#EXIT-STATUS">EXIT STATUS</a></li> <li><a href="#SEE-ALSO">SEE ALSO</a></li> <li><a href="#LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</a></li> </ul> <h1 id="NAME">NAME</h1> -Paul Show quoted text
-----Original Message----- From: Steven Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] Sent: Tuesday, September 10, 2013 3:11 PM To: Liebert, Paul A Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > Thanks, that's unfortunate. Pod::Html almost never changes. I haven't updated my Pod::Html yet to reproduce this, but do you think I could look for <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent </div> instead of <!-- INDEX END --> as the termination? Steve On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote:
> Tue Sep 10 13:58:38 2013: Request 88588 was acted upon. > Transaction: Ticket created by paauull > Queue: Perl-Tidy > Subject: INDEX END tag change in pod2html breaks perltidy -html > Broken in: 20130806 > Severity: (no value) > Owner: Nobody > Requestors: paul.a.liebert@hp.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > Running perltidy to generate html now produces error messages like > > Did not find INDEX END in pod2html output > print() on closed filehandle STDOUT at > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line 417. > > I have tracked this down to a change in pod2html. pod2html no longer > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around > the index section. perltidy depends on these tags being present. > > This should reproduce the problem for any 'my_script' that has pod: > > perltidy -html -nnn -st my_script > my_html > > Perl::Tidy 1.74 > Pod::Html 1.15_02 > > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux > > >
From s7078hancock [...] gmail.com Tue Sep 10 18: 59:20 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.333 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.16-12788-1378851983-1697.88588-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org> <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com> <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org> <CD4B29DCE5902F4298193C34A5EBF9FB84B1A6D1 [...] G4W3295.americas.hpqcorp.net> <rt-4.0.16-12788-1378851983-1697.88588-5-0 [...] rt.cpan.org>
X-Virus-Checked: Checked
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.180.90.197 with SMTP id by5mr14785825wib.43.1378853947077; Tue, 10 Sep 2013 15:59:07 -0700 (PDT)
Message-ID: <CAK7Dq6XUk2TwRsyW96NZvW86rsSDizozJ3hB7tWCxZQMPjMyXQ [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="f46d0438eb6db6781304e60f7306"
X-Spam-Score: -6.333
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 3110524074D for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:59:20 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FoEYBxSsg0kq for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Tue, 10 Sep 2013 18:59:18 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 465CC240673 for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 18:59:18 -0400 (EDT)
Received: (qmail 22210 invoked by alias); 10 Sep 2013 22:59:17 -0000
Received: from mail-wg0-f53.google.com (HELO mail-wg0-f53.google.com) (74.125.82.53) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 10 Sep 2013 15:59:11 -0700
Received: by mail-wg0-f53.google.com with SMTP id x12so4956887wgg.32 for <bug-Perl-Tidy [...] rt.cpan.org>; Tue, 10 Sep 2013 15:59:07 -0700 (PDT)
Received: by 10.180.206.15 with HTTP; Tue, 10 Sep 2013 15:59:07 -0700 (PDT)
Delivered-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Return-Path: <s7078hancock [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=cf+4nE5dCHnQgiNSwjmNXT8q3In9SKI55UDh8+I3Xok=; b=b7K8wIWnPnJdm1R+1f2qg1b0j+WewosP2JgmvRoW21igBOo2BafEGcYBy1dzdqth8M 68DPiduQz4TFjN6eukQ0YAeDiGT4glyvmvspppHxXCGUt2vtXbqsNVafBRiEH8idCRec Sm1DA7UuPgmAAxGJObSRBryY6xSHLq0777ZfBlPCyiibKee3igq5bXtj9S9tLjX9v124 Cto5jjcsiTfRZfoXIXeaU7Qtil4PUu1E2yoKGyGKdT/0d15gvE+plJBRJoSv/bfgXS8H hcizof8AKavIHGlVb1jMs/ZwdFZRuDQjjF8Rjixt3wbKfZ0JTcO2HGj5TsoYpzAeNID9 YUMQ==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-tidy
Date: Tue, 10 Sep 2013 15:59:07 -0700
X-Spam-Level:
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
RT-Message-ID: <rt-4.0.16-12753-1378853960-151.88588-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 4523
Download (untitled) / with headers
text/plain 4.4k
Thanks. It looks like I might be able to to check for <ul id="index"> and its closing </ul>. Steve On Tue, Sep 10, 2013 at 3:26 PM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Queue: Perl-Tidy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > There is no <div> tag, sorry. Here are the two snippets > > > > This version works with Perl::Tidy > > Pod::Html VERSION 1.0504 > > > > <body style="background-color: white"> > > > > <p><a name="__index__"></a></p> > > <!-- INDEX BEGIN --> > > > > <ul> > > > > <li><a href="#name">NAME</a></li> > > <li><a href="#synopsis">SYNOPSIS</a></li> > > <li><a href="#description">DESCRIPTION</a></li> > > <li><a href="#files">FILES</a></li> > > <li><a href="#options">OPTIONS</a></li> > > <li><a href="#pattern_capabilities">PATTERN > CAPABILITIES</a></li> > > <li><a href="#function_capabilities">FUNCTION > CAPABILITIES</a></li> > > <li><a href="#mda">MDA</a></li> > > <li><a href="#environment">ENVIRONMENT</a></li> > > <li><a href="#exit_status">EXIT STATUS</a></li> > > <li><a href="#see_also">SEE ALSO</a></li> > > <li><a href="#license_and_copyright">LICENSE AND > COPYRIGHT</a></li> > > </ul> > > <!-- INDEX END --> > > > > <hr /> > > <p> > > </p> > > <hr /> > > <h1><a name="name">NAME</a></h1> > > > > ---------------------------------------------------------------------- > > > > This version is missing the INDEX comments and is broken > > Pod::Html VERSION 1.15_02 > > > > <body style="background-color: white"> > > > > > > > > <ul id="index"> > > <li><a href="#NAME">NAME</a></li> > > <li><a href="#SYNOPSIS">SYNOPSIS</a></li> > > <li><a href="#DESCRIPTION">DESCRIPTION</a></li> > > <li><a href="#FILES">FILES</a></li> > > <li><a href="#OPTIONS">OPTIONS</a></li> > > <li><a href="#PATTERN-CAPABILITIES">PATTERN CAPABILITIES</a></li> > > <li><a href="#FUNCTION-CAPABILITIES">FUNCTION CAPABILITIES</a></li> > > <li><a href="#MDA">MDA</a></li> > > <li><a href="#ENVIRONMENT">ENVIRONMENT</a></li> > > <li><a href="#EXIT-STATUS">EXIT STATUS</a></li> > > <li><a href="#SEE-ALSO">SEE ALSO</a></li> > > <li><a href="#LICENSE-AND-COPYRIGHT">LICENSE AND COPYRIGHT</a></li> > > </ul> > > > > <h1 id="NAME">NAME</h1> > > > > > > -Paul > > > > -----Original Message----- > > From: Steven Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] > > Sent: Tuesday, September 10, 2013 3:11 PM > > To: Liebert, Paul A > > Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks > perltidy -html > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > > Thanks, that's unfortunate. Pod::Html almost never changes. I haven't > > updated my Pod::Html yet to reproduce this, but do you think I could look > > for > > > > <div name="index"> instead if the <!-- INDEX BEGIN --> and the subsequent > > > > </div> instead of <!-- INDEX END --> > > > > as the termination? > > > > Steve > > > > > > On Tue, Sep 10, 2013 at 10:58 AM, Paul Liebert via RT < > > bug-Perl-Tidy@rt.cpan.org> wrote: > > >
> > Tue Sep 10 13:58:38 2013: Request 88588 was acted upon.
>
> > Transaction: Ticket created by paauull
>
> > Queue: Perl-Tidy
>
> > Subject: INDEX END tag change in pod2html breaks perltidy -html
>
> > Broken in: 20130806
>
> > Severity: (no value)
>
> > Owner: Nobody
>
> > Requestors: paul.a.liebert@hp.com
>
> > Status: new
> >
> >
>
> >
>
> > Running perltidy to generate html now produces error messages like
>
> >
>
> > Did not find INDEX END in pod2html output
>
> > print() on closed filehandle STDOUT at
>
> > /apps/perl-5.16.3/2.6x86_64/lib/5.16.3/x86_64-linux/IO/Handle.pm line
> 417. >
> >
>
> > I have tracked this down to a change in pod2html. pod2html no longer
>
> > issues comment tags of <!-- INDEX BEGIN --> and <!-- INDEX END --> around
>
> > the index section. perltidy depends on these tags being present.
>
> >
>
> > This should reproduce the problem for any 'my_script' that has pod:
>
> >
>
> > perltidy -html -nnn -st my_script > my_html
>
> >
>
> > Perl::Tidy 1.74
>
> > Pod::Html 1.15_02
>
> >
>
> > This is perl 5, version 16, subversion 3 (v5.16.3) built for x86_64-linux
>
> >
>
> >
>
> >
> > > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 7393
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-12753-1378853960-151.88588-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org> <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com> <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org> <CD4B29DCE5902F4298193C34A5EBF9FB84B1A6D1 [...] G4W3295.americas.hpqcorp.net> <rt-4.0.16-12788-1378851983-1697.88588-5-0 [...] rt.cpan.org> <CAK7Dq6XUk2TwRsyW96NZvW86rsSDizozJ3hB7tWCxZQMPjMyXQ [...] mail.gmail.com> <rt-4.0.16-12753-1378853960-151.88588-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.16-12014-1379863576-1429.88588-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: 141
Download (untitled) / with headers
text/plain 141b
I put a patch to fix this problem in version 20130922. I believe that it will solve the problem but I don't yet have the ability to test it.
From paul.a.liebert [...] hp.com Mon Sep 23 13: 34:43 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5] autolearn=ham
In-Reply-To: <rt-4.0.16-12014-1379863576-460.88588-6-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org> <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com> <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org> <CD4B29DCE5902F4298193C34A5EBF9FB84B1A6D1 [...] G4W3295.americas.hpqcorp.net> <rt-4.0.16-12788-1378851983-1697.88588-5-0 [...] rt.cpan.org> <CAK7Dq6XUk2TwRsyW96NZvW86rsSDizozJ3hB7tWCxZQMPjMyXQ [...] mail.gmail.com> <rt-4.0.16-12753-1378853960-151.88588-6-0 [...] rt.cpan.org> <rt-4.0.16-12014-1379863576-460.88588-6-0 [...] rt.cpan.org>
Content-Language: en-US
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <CD4B29DCE5902F4298193C34A5EBF9FB84B2CEA6 [...] G9W0751.americas.hpqcorp.net>
content-type: text/plain; charset="utf-8"
X-MS-Tnef-Correlator:
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 6C1662407A6 for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Mon, 23 Sep 2013 13:34:43 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PgUVtfOqyKiV for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Mon, 23 Sep 2013 13:34:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4862324074F for <bug-Perl-Tidy [...] rt.cpan.org>; Mon, 23 Sep 2013 13:34:41 -0400 (EDT)
Received: (qmail 20950 invoked by alias); 23 Sep 2013 17:34:40 -0000
Received: from g4t0015.houston.hp.com (HELO g4t0015.houston.hp.com) (15.201.24.18) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 23 Sep 2013 10:34:34 -0700
Received: from G9W0364.americas.hpqcorp.net (g9w0364.houston.hp.com [16.216.193.45]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by g4t0015.houston.hp.com (Postfix) with ESMTPS id 5445D8678 for <bug-Perl-Tidy [...] rt.cpan.org>; Mon, 23 Sep 2013 17:34:30 +0000 (UTC)
Received: from G9W3613.americas.hpqcorp.net (16.216.186.48) by G9W0364.americas.hpqcorp.net (16.216.193.45) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 23 Sep 2013 17:33:51 +0000
Received: from G9W0751.americas.hpqcorp.net ([169.254.7.68]) by G9W3613.americas.hpqcorp.net ([16.216.186.48]) with mapi id 14.03.0123.003; Mon, 23 Sep 2013 17:33:51 +0000
Delivered-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
Subject: RE: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Return-Path: <paul.a.liebert [...] hp.com>
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-tidy
Thread-Index: AQHOrnKmmqh2i/Hvw0i9+UCn2wRI4pm/i9kQgBJnc02AAbXIwA==
Date: Mon, 23 Sep 2013 17:33:50 +0000
X-Spam-Level:
Thread-Topic: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
X-MS-Has-Attach:
X-Originating-Ip: [16.210.48.37]
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
Accept-Language: en-US
Content-Transfer-Encoding: base64
From: "Liebert, Paul A" <paul.a.liebert [...] hp.com>
RT-Message-ID: <rt-4.0.16-26398-1379957684-1482.88588-0-0 [...] rt.cpan.org>
Content-Length: 492
Download (untitled) / with headers
text/plain 492b
This works great for me. Thanks! -Paul Show quoted text
-----Original Message----- From: Steve Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] Sent: Sunday, September 22, 2013 8:26 AM To: Liebert, Paul A Subject: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > I put a patch to fix this problem in version 20130922. I believe that it will solve the problem but I don't yet have the ability to test it.
From s7078hancock [...] gmail.com Mon Sep 23 13: 59:31 2013
MIME-Version: 1.0
X-Spam-Status: No, score=-6.304 tagged_above=-99.9 required=10 tests=[AWL=0.029, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] autolearn=ham
In-Reply-To: <rt-4.0.16-26398-1379957684-519.88588-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-88588 [...] rt.cpan.org> <rt-4.0.16-30277-1378835919-1730.88588-4-0 [...] rt.cpan.org> <CAK7Dq6Ucfx=M5B65jcTynkC2Ug3PJZEAjJ+6zTwJPTbpLY57Qg [...] mail.gmail.com> <rt-4.0.16-15024-1378851061-397.88588-6-0 [...] rt.cpan.org> <CD4B29DCE5902F4298193C34A5EBF9FB84B1A6D1 [...] G4W3295.americas.hpqcorp.net> <rt-4.0.16-12788-1378851983-1697.88588-5-0 [...] rt.cpan.org> <CAK7Dq6XUk2TwRsyW96NZvW86rsSDizozJ3hB7tWCxZQMPjMyXQ [...] mail.gmail.com> <rt-4.0.16-12753-1378853960-151.88588-6-0 [...] rt.cpan.org> <rt-4.0.16-12014-1379863576-460.88588-6-0 [...] rt.cpan.org> <CD4B29DCE5902F4298193C34A5EBF9FB84B2CEA6 [...] G9W0751.americas.hpqcorp.net> <rt-4.0.16-26398-1379957684-519.88588-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.182.117.164 with SMTP id kf4mr297330obb.104.1379959157939; Mon, 23 Sep 2013 10:59:17 -0700 (PDT)
Message-ID: <CAK7Dq6VKG-GGBf5QT8fMD8E4byn5n_ncAYmYQ4HRi3YHOhhcDQ [...] mail.gmail.com>
Content-Type: multipart/alternative; boundary="089e015382b869e4af04e710c74a"
X-Spam-Score: -6.304
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 7BCF92407A6 for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Mon, 23 Sep 2013 13:59:31 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e-pWggcMcMtz for <cpan-bug+Perl-Tidy [...] hipster.bestpractical.com>; Mon, 23 Sep 2013 13:59:29 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 7DBDA24074F for <bug-Perl-Tidy [...] rt.cpan.org>; Mon, 23 Sep 2013 13:59:29 -0400 (EDT)
Received: (qmail 24007 invoked by alias); 23 Sep 2013 17:59:28 -0000
Received: from mail-oa0-f42.google.com (HELO mail-oa0-f42.google.com) (209.85.219.42) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Mon, 23 Sep 2013 10:59:22 -0700
Received: by mail-oa0-f42.google.com with SMTP id g12so911302oah.29 for <bug-Perl-Tidy [...] rt.cpan.org>; Mon, 23 Sep 2013 10:59:18 -0700 (PDT)
Received: by 10.60.95.170 with HTTP; Mon, 23 Sep 2013 10:59:17 -0700 (PDT)
Delivered-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks perltidy -html
Return-Path: <s7078hancock [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VOQgzYZP4V6QZpZbq9DWB4K3ZZOensMxalpIia0Ksew=; b=IHloV4xv2lWT+txeD9QQmoWxZNJRGnzREYV3shDeJGyRoWIoYu0FScrABSMX1+Bz71 HkDQSqt6LQSUCz1Br1zfPmGaGFzV25L5bjKTHhmirlVvpUWmaN08QOQdLakbou6R8AI5 jYoD6wrY7NhMFVWVXbrb2YIstrCIZ3Y8PVTlhpKoGdUMN40i32pKFG+yVuknvrzFJHW0 cxA+DmjtXD5ytxQprgS4KcvLJNrPSs93c4iSqAxTf90bNh8onKU0JTK44uKOTK99yhh9 NbctadK/VoYiRQSyrtjHyCudNZgrd4E1OIfSoS7tKIH1dFxzjyziw6RqBBLV3MN67Isg aHEQ==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+Perl-Tidy [...] hipster.bestpractical.com
X-RT-Mail-Extension: perl-tidy
Date: Mon, 23 Sep 2013 10:59:17 -0700
X-Spam-Level:
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
RT-Message-ID: <rt-4.0.16-28173-1379959172-1630.88588-0-0 [...] rt.cpan.org>
Content-Length: 0
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
Content-Length: 816
Download (untitled) / with headers
text/plain 816b
Great, thanks for trying it, I'm glad it works. Let me know if you run into any trouble. Steve On Mon, Sep 23, 2013 at 10:34 AM, Paul Liebert via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Queue: Perl-Tidy > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > This works great for me. Thanks! > > > > -Paul > > > > -----Original Message----- > > From: Steve Hancock via RT [mailto:bug-Perl-Tidy@rt.cpan.org] > > Sent: Sunday, September 22, 2013 8:26 AM > > To: Liebert, Paul A > > Subject: [rt.cpan.org #88588] INDEX END tag change in pod2html breaks > perltidy -html > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=88588 > > > > > I put a patch to fix this problem in version 20130922. I believe that it > will solve the problem but I don't yet have the ability to test it. > >
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: utf-8
Content-Length: 1502


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.