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