]> mj.ucw.cz Git - libucw.git/commitdiff
UCW::Configure: Fixed compatibility with old perl.
authorPavel Charvat <pchar@ucw.cz>
Mon, 11 Sep 2017 19:35:03 +0000 (21:35 +0200)
committerPavel Charvat <pchar@ucw.cz>
Mon, 11 Sep 2017 19:35:03 +0000 (21:35 +0200)
Older versions of perl don't automatically load methods
like STDOUT->flush, we need to explicitly use IO::File.

ucw/perl/UCW/Configure.pm

index 83b70e0d8fe722863b84979221b934d2ecedef85..c469b3c34ea906ced76534600574a01740081b93 100644 (file)
@@ -9,6 +9,7 @@ package UCW::Configure;
 
 use strict;
 use warnings;
+use IO::File;
 
 BEGIN {
        # The somewhat hairy Perl export mechanism