From: espie Date: Mon, 3 Jul 2023 17:01:59 +0000 (+0000) Subject: also make things 5.36 if not used X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=de2fb8e9b2090ef938f72d068528d74f298586d0;p=openbsd also make things 5.36 if not used --- diff --git a/usr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm b/usr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm index 80826f38227..b5a6712203f 100755 --- a/usr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: HTTP.pm,v 1.15 2023/06/13 09:07:18 espie Exp $ +# $OpenBSD: HTTP.pm,v 1.16 2023/07/03 17:01:59 espie Exp $ # # Copyright (c) 2011 Marc Espie # @@ -16,8 +16,7 @@ # 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; use OpenBSD::PackageRepository::Persistent; @@ -68,7 +67,6 @@ sub new($class) sub code($self) { - my $self = shift; return $self->{code}; }