From 62eda429c3ebbf2d4cfd4b3be75d4677a9e2ec82 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 21 May 2023 08:06:03 +0000 Subject: [PATCH] v5.36, trivial move --- usr.sbin/pkg_add/pkg_add | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index 3b69bfec80c..c7d2017ff63 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.486 2021/05/04 10:19:28 espie Exp $ +# $OpenBSD: pkg_add,v 1.487 2023/05/21 08:06:03 espie Exp $ # # Copyright (c) 2010 Marc Espie # @@ -16,13 +16,11 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -use strict; -use warnings; +use v5.36; no lib ('/usr/local/libdata/perl5/site_perl'); -sub run +sub run($cmd, $m) { - my ($cmd, $m) = @_; my $module = "OpenBSD::$m"; eval "require $module"; if ($@) { -- 2.20.1