From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 065D91F5B1 for ; Wed, 1 Jul 2020 21:06:20 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/5] spawn: modernize with parent.pm, drop warnings.pm Date: Wed, 1 Jul 2020 21:06:16 +0000 Message-Id: <20200701210619.29601-3-e@yhbt.net> In-Reply-To: <20200701210619.29601-1-e@yhbt.net> References: <20200701210619.29601-1-e@yhbt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: 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(-) diff --git a/lib/PublicInbox/Spawn.pm b/lib/PublicInbox/Spawn.pm index ba6e73675fe..c85b68003ac 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/;