Skip Menu |

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

Report information
The Basics
Id: 124494
Status: resolved
Priority: 0/
Queue: Perl-Tidy

People
Owner: Nobody in particular
Requestors: dugrim [...] gmx.de
Cc:
AdminCc:

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



Subject: Version 20180219 creates empty output file
Date: Tue, 20 Feb 2018 10:46:02 +0100
To: bug-Perl-Tidy [...] rt.cpan.org
From: dugrim <dugrim [...] gmx.de>
$ ~/Perl-Tidy-20180219/perltidy al.pl $ ls -l al.pl.tdy -rw-r--r--. 1 user group 0 Feb 20 10:37 al.pl.tdy Was working in previous Version: $ ~/Perl-Tidy-20180101/perltidy al.pl $ ls -l al.pl.tdy -rw-r--r--. 1 user group 144 Feb 20 10:37 al.pl.tdy Using perl 5.16.3 on RHEL 7.4
Subject: Re: [rt.cpan.org #124494] Version 20180219 creates empty output file
Date: Tue, 20 Feb 2018 02:34:33 -0800
To: bug-Perl-Tidy [...] rt.cpan.org
From: Steven Hancock <s7078hancock [...] gmail.com>
Can you give me an input file to examine? Does this happen for all input files or only some? Steve On Tue, Feb 20, 2018 at 1:46 AM, dugrim via RT <bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Tue Feb 20 04:46:17 2018: Request 124494 was acted upon. > Transaction: Ticket created by dugrim@gmx.de > Queue: Perl-Tidy > Subject: Version 20180219 creates empty output file > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: dugrim@gmx.de > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124494 > > > > $ ~/Perl-Tidy-20180219/perltidy al.pl > $ ls -l al.pl.tdy > -rw-r--r--. 1 user group 0 Feb 20 10:37 al.pl.tdy > > Was working in previous Version: > > $ ~/Perl-Tidy-20180101/perltidy al.pl > $ ls -l al.pl.tdy > -rw-r--r--. 1 user group 144 Feb 20 10:37 al.pl.tdy > > Using perl 5.16.3 on RHEL 7.4 > >
Subject: Re: [rt.cpan.org #124494] Version 20180219 creates empty output file
Date: Tue, 20 Feb 2018 12:53:53 +0100
To: bug-Perl-Tidy [...] rt.cpan.org
From: dugrim <dugrim [...] gmx.de>
So far it happened with all Input files I tried - In this case the fat comma alignment test: $ cat al.pl #!/usr/bin/perl my %h = { a => 2 > 3 ? 1 : 0, bbbb=> sub { my $y = "1" }, c=> sub { my $z = "2" }, d => 2 > 3 ? 1 : 0, }; $ ~/Perl-Tidy-20180219/perltidy -g -se al.pl $ ls -l al.pl* -rw-r--r--. 1 user group 255 Feb 20 10:35 al.pl -rw-r--r--. 1 user group 350 Feb 20 12:48 al.pl.LOG -rw-r--r--. 1 user group 0 Feb 20 12:48 al.pl.tdy $ cat al.pl.LOG perltidy version 20180219 log file on a linux system, OLD_PERL_VERSION=5.016003 Configuration and command line parameters for this run: -g -se To find error messages search for 'WARNING' with your editor Indentation will be with 4 spaces Line 1 implies starting-indentation-level = 0 Suggest including 'use warnings;' Suggest including 'use strict;' 2018-02-20 11:34 GMT+01:00 Steven Hancock via RT <bug-Perl-Tidy@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=124494 > > > Can you give me an input file to examine? > Does this happen for all input files or only some? > Steve > > On Tue, Feb 20, 2018 at 1:46 AM, dugrim via RT <bug-Perl-Tidy@rt.cpan.org> > wrote: >
>> Tue Feb 20 04:46:17 2018: Request 124494 was acted upon. >> Transaction: Ticket created by dugrim@gmx.de >> Queue: Perl-Tidy >> Subject: Version 20180219 creates empty output file >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: dugrim@gmx.de >> Status: new >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=124494 > >> >> >> $ ~/Perl-Tidy-20180219/perltidy al.pl >> $ ls -l al.pl.tdy >> -rw-r--r--. 1 user group 0 Feb 20 10:37 al.pl.tdy >> >> Was working in previous Version: >> >> $ ~/Perl-Tidy-20180101/perltidy al.pl >> $ ls -l al.pl.tdy >> -rw-r--r--. 1 user group 144 Feb 20 10:37 al.pl.tdy >> >> Using perl 5.16.3 on RHEL 7.4 >> >>
>
This is fixed in version 20180220. Sorry this happened. It was a simple index error that didn't show up in testing on my version of Perl. Steve