my reply email did not arrive so i am copying it here:
On Mon, 19 Feb 2018 14:01:50 -0500
"Steven Hancock via RT" <bug-Perl-Tidy@rt.cpan.org> wrote:
Show quoted text
it happens (only?) with perl-5.18.x, which is what ubuntu 14.04 (not 16.04) has.
Show quoted text> I need more info.
> Do you have a .perltidyrc? Maybe the problem is related to one of the flags
> in it.
yes, it reads
shlomif[golf]:$base/add5$ cat ~/.perltidyrc
-ci=4
-bl
-cti=0
shlomif[golf]:$base/add5$
Show quoted text>
> Also, by latest version do you mean perltidy version 20180219?
yes.
Show quoted text> Steve
On Mon Feb 19 14:01:50 2018, s7078hancock@gmail.com wrote:
Show quoted text> Sorry to hear this. I downloaded this file but haven't been able to
> reproduce the problem.
On Mon, 19 Feb 2018 14:01:50 -0500
"Steven Hancock via RT" <bug-Perl-Tidy@rt.cpan.org> wrote:
Show quoted text
it happens (only?) with perl-5.18.x, which is what ubuntu 14.04 (not 16.04) has.
Show quoted text> I need more info.
> Do you have a .perltidyrc? Maybe the problem is related to one of the flags
> in it.
yes, it reads
shlomif[golf]:$base/add5$ cat ~/.perltidyrc
-ci=4
-bl
-cti=0
shlomif[golf]:$base/add5$
Show quoted text>
> Also, by latest version do you mean perltidy version 20180219?
yes.
Show quoted text> Steve
Show quoted text> I am using Ubuntu 16.04 and perl v5.22.1.
>
> I need more info.
> Do you have a .perltidyrc? Maybe the problem is related to one of the flags
> in it.
>
> Also, by latest version do you mean perltidy version 20180219?
> Steve
>
>
>
> On Mon, Feb 19, 2018 at 9:59 AM, Shlomi Fish via RT <
> bug-Perl-Tidy@rt.cpan.org> wrote:
>
> > Queue: Perl-Tidy
> > Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=124469 >
> >
> > On Mon Feb 19 09:18:04 2018, SHLOMIF wrote:
> > > On Ubuntu 14.04 Trusty LTS, latest perltidy often emits empty output,
> > > for example for this
https://github.com/shlomif/black-hole-
> > > solitaire/blob/master/black-hole-solitaire/c-solver/cmake/pod2man-
> > > wrapper.pl, thus yielding failures such as
https://travis-
> > > ci.org/shlomif/black-hole-solitaire/builds/343368415 . Please look
> > > into fixing it.
> >
> > I've now tested it on perl-5.18.4 installed using perlbrew on mageia v7
> > x86-64 and it happens there as well. I've tested some other inputs and
> > seems like a leading empty line trips it. Here is a sample session inside
> > perlbrew (/usr/bin/perlbrew uses the system 5.26.1 perl and works fine):
> >
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> > #!/usr/bin/perl
> >
> > print "foo";
> > shlomif[black-hole]:$c_src$ gvim `which perltidy`
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy < cmake/pod2man-wrapper.pl
> > #!/usr/bin/perl
> >
> > print "foo";
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> >
> > print "foo";
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> > print "foo";
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > print "foo";
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> >
> > print "foo";
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> >
> > print "foo";
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > shlomif[black-hole]:$c_src$ perltidy -f < cmake/pod2man-wrapper.pl
> > print "foo";
> > shlomif[black-hole]:$c_src$ /usr/bin/perltidy -f < cmake/
> > pod2man-wrapper.pl
> > print "foo";
> >
> >