summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-07-03 17:02:00 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-07-03 17:02:00 +0000
commitc0ce08dd9588f75d7a4fb6fd40dd12d4a26da59d (patch)
tree096fc1333f455ccf58f6b8949303c6c4f61ad158
parentb7e729e6010cb363ef1756892d6e1da11d4fee7f (diff)
also make things 5.36 if not used
-rwxr-xr-xusr.sbin/pkg_add/OpenBSD/PackageRepository/HTTP.pm6
1 files changed, 2 insertions, 4 deletions
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 <espie@openbsd.org>
#
@@ -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};
}