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
>>
>>
>