about summary refs log tree commit homepage
path: root/script/public-inbox-edit
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-11-24 03:12:37 +0000
committerEric Wong <e@80x24.org>2019-11-24 21:23:29 +0000
commit48d4fdb2acbf8cf05dcb357df53b0d658f88fe39 (patch)
tree09b1d756512f9bade3fd3704120137652340e328 /script/public-inbox-edit
parentfd730c65a3242f609f4ec205ad605408850b2bec (diff)
downloadpublic-inbox-48d4fdb2acbf8cf05dcb357df53b0d658f88fe39.tar.gz
check for File::Temp 0.19 for ->newdir method
This is distributed with Perl 5.10.1 and onwards, so it should
not be an installation burden for any users.  I'm planning to
move away from tempdir() entirely and use File::Temp->newdir to
remove dependencies on END{} blocks.
Diffstat (limited to 'script/public-inbox-edit')
-rwxr-xr-xscript/public-inbox-edit2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/public-inbox-edit b/script/public-inbox-edit
index 1900b267..2a9f0531 100755
--- a/script/public-inbox-edit
+++ b/script/public-inbox-edit
@@ -8,7 +8,7 @@ use strict;
 use warnings;
 use Getopt::Long qw(:config gnu_getopt no_ignore_case auto_abbrev);
 use PublicInbox::AdminEdit;
-use File::Temp ();
+use File::Temp 0.19 ();
 use PublicInbox::ContentId qw(content_id);
 use PublicInbox::MID qw(mid_clean mids);
 PublicInbox::Admin::check_require('-index');