]> git.donarmstrong.com Git - perltidy.git/commitdiff
fix error in Perl::Tidy::Logger (see pr #163) 20240903
authorSteve Hancock <perltidy@users.sourceforge.net>
Mon, 2 Sep 2024 21:35:23 +0000 (14:35 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Mon, 2 Sep 2024 21:35:23 +0000 (14:35 -0700)
lib/Perl/Tidy/Logger.pm
local-docs/Release-Checklist.md

index f08e6f0f138092429a1a11b79ce17a61815996fe..0db8e8d634a0d30b7ce15898a0f13cbbee25c384 100644 (file)
@@ -516,7 +516,7 @@ sub finish {
             my $routput_array = $self->{_output_array};
             foreach my $line ( @{$routput_array} ) { $fh->print($line) }
             if (   $fh->can('close')
-                && !ref($log_file) ne '-'
+                && !ref($log_file)
                 && $log_file ne '-' )
             {
                 $fh->close()
index e9e9452f6e82df3e3d2662b96f48c1d13d1f50a9..c1ff82facae2a6898f17f22857a9d80a4b90572f 100644 (file)
@@ -29,7 +29,7 @@
   - install the latest RPerl [currently RPerl-7.000000]
   - perl Makefile.PL, make, make test - should complete ok
 - Review code, especially any ## commented out sections and "FIXME's"
-- run perlver on all modules to check minimum version; should be 5.8.0
+- run perlver on all modules to check minimum version; should be 5.8.1
   - The first line in Tidy.pm has the required version of Perl
   - use perlbrew to do local checks and debugging on earlier versions of perl
    - perlbrew list               [show installed versions]