]> git.donarmstrong.com Git - perltidy.git/blobdiff - lib/Perl/Tidy/IOScalar.pm
New upstream version 20221112
[perltidy.git] / lib / Perl / Tidy / IOScalar.pm
index 1a96c54ae6c2ef1f8c919cffc1b1ca7c3e9ea9b6..983258cab9b2540602818f0bee670bbcc28beebb 100644 (file)
@@ -10,7 +10,9 @@ package Perl::Tidy::IOScalar;
 use strict;
 use warnings;
 use Carp;
-our $VERSION = '20210717';
+our $VERSION = '20221112';
+
+use constant EMPTY_STRING => q{};
 
 sub AUTOLOAD {
 
@@ -50,7 +52,7 @@ EOM
 
     }
     if ( $mode eq 'w' ) {
-        ${$rscalar} = "";
+        ${$rscalar} = EMPTY_STRING;
         return bless [ $rscalar, $mode ], $package;
     }
     elsif ( $mode eq 'r' ) {