summaryrefslogtreecommitdiff
path: root/Porting
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-12-01 16:32:06 -0800
committerFather Chrysostomos <sprout@cpan.org>2014-12-01 16:40:13 -0800
commitc2d21e7a640527422528893466b86d277a8dac30 (patch)
tree86d0370a0a103647466166d0ad7f2dfebd9c80b1 /Porting
parent300b15258e64faeaf7a97ca0985312c7228fb749 (diff)
downloadperl-c2d21e7a640527422528893466b86d277a8dac30.tar.gz
bench.pl: Load IO::File explicitly
to work with older perls that don’t load it automatically. $ Porting/bench.pl perl5.8.8 perl5.8.7 Can't locate object method "blocking" via package "IO::File" at Porting/bench.pl line 737. (In this case the system perl is 5.12.4.)
Diffstat (limited to 'Porting')
-rwxr-xr-xPorting/bench.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Porting/bench.pl b/Porting/bench.pl
index bbc1247252..dc90a8ff19 100755
--- a/Porting/bench.pl
+++ b/Porting/bench.pl
@@ -205,6 +205,7 @@ use strict;
use Getopt::Long qw(:config no_auto_abbrev);
use IPC::Open2 ();
use IO::Select;
+use IO::File;
use POSIX ":sys_wait_h";
# The version of the file format used to save data. We refuse to process