]> git.donarmstrong.com Git - perltidy.git/commitdiff
add missing use File::Temp
authorSteve Hancock <perltidy@users.sourceforge.net>
Sat, 28 Dec 2024 04:54:01 +0000 (20:54 -0800)
committerSteve Hancock <perltidy@users.sourceforge.net>
Sat, 28 Dec 2024 04:54:01 +0000 (20:54 -0800)
CHANGES.md
lib/Perl/Tidy/HtmlWriter.pm

index 264de1f103217fcb3210364857ce1b9cd885358a..d540d051b336579ae659dde25366ab271b8bf184 100644 (file)
         $st_blocks
     );
 
+    - Added missing 'use File::Temp' for -html option. This was causing the
+      message: "Undefined subroutine &File::Temp::tempfile called at ..."
+
 ## 2024 09 03
 
     - Add partial support for Syntax::Operator::In and Syntax::Keyword::Match
index 9b3fd0920962c99193c1f97508cfa8b384dc296a..a2ec1386ba647a895cb90cb9de35806cdc421b2b 100644 (file)
@@ -12,6 +12,7 @@ our $VERSION = '20240903.08';
 use Carp;
 use English qw( -no_match_vars );
 use File::Basename;
+use File::Temp qw();
 
 use constant EMPTY_STRING => q{};
 use constant SPACE        => q{ };