]> git.donarmstrong.com Git - perltidy.git/commitdiff
test to see if braced filehandle passes on all systems
authorSteve Hancock <perltidy@users.sourceforge.net>
Sat, 19 Aug 2023 22:33:48 +0000 (15:33 -0700)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sat, 19 Aug 2023 22:33:48 +0000 (15:33 -0700)
If this passes everywhere I may update the other modules

lib/Perl/Tidy/VerticalAligner/Line.pm

index ad456ee93f727d76e737a103ffa1413482945cc1..00e00c66fa2be989c432f06a1251149a6a67ce13 100644 (file)
@@ -21,7 +21,7 @@ sub AUTOLOAD {
     return if ( $AUTOLOAD =~ /\bDESTROY$/ );
     my ( $pkg, $fname, $lno ) = caller();
     my $my_package = __PACKAGE__;
-    print STDERR <<EOM;
+    print {*STDERR} <<EOM;
 ======================================================================
 Error detected in package '$my_package', version $VERSION
 Received unexpected AUTOLOAD call for sub '$AUTOLOAD'