Skip Menu |

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

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

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

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



Subject: Silent Failure in HTML Output on Windows
While trying to run with the basic "perltidy -html my_file.pl" perltidy would exit without warning or error, and generate an empty my_file.pl.html file. The log contained no error or warning. After investigating and stepping through with a debugger, I found it failing on line 5136 "my ( $fh_tmp, $tmpfile ) = tempfile();" Changing it to "my ( $fh_tmp, $tmpfile ) = File::Temp::tempfile();" resolved the issue, but I'm not sure why. Perl::Tidy-20140711 Platform Windows 7 x64 File::Temp 0.2304
Subject: Re: [rt.cpan.org #100871] Silent Failure in HTML Output on Windows
Date: Thu, 11 Dec 2014 15:05:12 -0800
To: "bug-Perl-Tidy [...] rt.cpan.org" <bug-Perl-Tidy [...] rt.cpan.org>
From: Steven Hancock <s7078hancock [...] gmail.com>
Thanks for the report and fix. Steve On Thu, Dec 11, 2014 at 11:48 AM, Dean Pearce via RT < bug-Perl-Tidy@rt.cpan.org> wrote: Show quoted text
> Thu Dec 11 14:48:40 2014: Request 100871 was acted upon. > Transaction: Ticket created by PEARCE > Queue: Perl-Tidy > Subject: Silent Failure in HTML Output on Windows > Broken in: 20140711 > Severity: Important > Owner: Nobody > Requestors: PEARCE@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=100871 > > > > While trying to run with the basic "perltidy -html my_file.pl" perltidy > would exit without warning or error, and generate an empty my_file.pl.html > file. The log contained no error or warning. > > After investigating and stepping through with a debugger, I found it > failing on line 5136 "my ( $fh_tmp, $tmpfile ) = tempfile();" Changing it > to "my ( $fh_tmp, $tmpfile ) = File::Temp::tempfile();" resolved the issue, > but I'm not sure why. > > Perl::Tidy-20140711 > Platform Windows 7 x64 > File::Temp 0.2304 >
This change has been made in version 20150815.