about summary refs log tree commit homepage
path: root/lib/PublicInbox/Spawn.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-07-01 21:06:16 +0000
committerEric Wong <e@yhbt.net>2020-07-02 20:36:18 +0000
commit3067c7501c92e45080297a6f0a38bf5f743cde5a (patch)
tree80c4247e679ba988dc6901959db950bc08fdea34 /lib/PublicInbox/Spawn.pm
parent97e77af0af2db3ce89b100ad4e1cfef7055870eb (diff)
downloadpublic-inbox-3067c7501c92e45080297a6f0a38bf5f743cde5a.tar.gz
parent.pm is smaller than base.pm, and we'll also move
towards relying on `-w' (or not) to toggle process-wide
warnings during development.
Diffstat (limited to 'lib/PublicInbox/Spawn.pm')
-rw-r--r--lib/PublicInbox/Spawn.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm
index ba6e7367..c85b6800 100644
--- a/lib/PublicInbox/Spawn.pm
+++ b/lib/PublicInbox/Spawn.pm
@@ -13,8 +13,7 @@
 
 package PublicInbox::Spawn;
 use strict;
-use warnings;
-use base qw(Exporter);
+use parent qw(Exporter);
 use Symbol qw(gensym);
 use PublicInbox::ProcessPipe;
 our @EXPORT_OK = qw/which spawn popen_rd/;