From 3067c7501c92e45080297a6f0a38bf5f743cde5a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 1 Jul 2020 21:06:16 +0000 Subject: spawn: modernize with parent.pm, drop warnings.pm 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. --- lib/PublicInbox/Spawn.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/PublicInbox/Spawn.pm') 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/; -- cgit v1.2.3-24-ge0c7