]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
www: mbox*: use Perl 5.12
authorEric Wong <e@80x24.org>
Thu, 25 Apr 2024 21:31:43 +0000 (21:31 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Apr 2024 17:05:27 +0000 (17:05 +0000)
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
lib/PublicInbox/MboxGz.pm

index 82fba5c6e94df6641ab9c819114ee8c9b2e25663..17893a0900ce1f3765294507778e515225a10932 100644 (file)
@@ -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/;
index 864d701eb2279f3c54d13f6d34ee0ee2316a6337..90e69c09b34bca606edd40ccb5140fcc4dffe71b 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright (C) all contributors <meta@public-inbox.org>
 # License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
 package PublicInbox::MboxGz;
-use strict;
+use v5.12;
 use parent 'PublicInbox::GzipFilter';
 use PublicInbox::Eml;
 use PublicInbox::Hval qw/to_filename/;