From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id CFB771F51A for ; Thu, 25 Apr 2024 21:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1714080706; bh=MH6ROBc3oIrildE++/VwXQtiTm6+XCPJkLUsZwdER3E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=y1DnLRUfhV7R8o/vos/wctg+yY9Yzp5JOnhveN1EbN2ggiLTy9G1oSerjjWQ41nZZ zYyPhly6gZLdTfh37EZt6IdSJJBe4YhhBnAahNSohgTwjSEEv5uFGSq8NMPd1f0P1v +Qm373ESm/6lExBWW5hU2SlIvVQ4GICDGy9cJ/iE= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 2/5] www: mbox*: use Perl 5.12 Date: Thu, 25 Apr 2024 21:31:43 +0000 Message-ID: <20240425213146.1166555-3-e@80x24.org> In-Reply-To: <20240425213146.1166555-1-e@80x24.org> References: <20240425213146.1166555-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: We were already silently relying on v5.10 features (`//') and all the regexps to work correctly with v5.12 unicode_strings. --- lib/PublicInbox/Mbox.pm | 2 +- lib/PublicInbox/MboxGz.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/Mbox.pm b/lib/PublicInbox/Mbox.pm index 82fba5c6..17893a09 100644 --- a/lib/PublicInbox/Mbox.pm +++ b/lib/PublicInbox/Mbox.pm @@ -4,7 +4,7 @@ # Streaming interface for mboxrd HTTP responses # See PublicInbox::GzipFilter for details. package PublicInbox::Mbox; -use strict; +use v5.12; use parent 'PublicInbox::GzipFilter'; use PublicInbox::MID qw/mid_escape/; use PublicInbox::Hval qw/to_filename/; diff --git a/lib/PublicInbox/MboxGz.pm b/lib/PublicInbox/MboxGz.pm index 864d701e..90e69c09 100644 --- a/lib/PublicInbox/MboxGz.pm +++ b/lib/PublicInbox/MboxGz.pm @@ -1,7 +1,7 @@ # Copyright (C) all contributors # License: AGPL-3.0+ package PublicInbox::MboxGz; -use strict; +use v5.12; use parent 'PublicInbox::GzipFilter'; use PublicInbox::Eml; use PublicInbox::Hval qw/to_filename/;