From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 255911FC41 for ; Thu, 3 Nov 2022 00:48:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1667436520; bh=awExX/IIQRApIfEnjTqmZNaPcMVUVYJmFI7nY57/Mtc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nj9bhRBS5Mgn5ZupAe4lVmrGrCpS/PXCIqpyJINzStUILui0IIe3q/72EZAb4r3SE Kqn+aH4tqqglFWQgj3KF4O3wJ6q+cR3FJI0pQFpMUyEz2vOIonMVICavNt1D7nkwrJ J6hAspRdbxMvB3xBx4c4lwKBQT4QHPBdnnkg/XmE= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 4/6] doc: txt2pre: modernize and use v5.12 Date: Thu, 3 Nov 2022 00:48:36 +0000 Message-Id: <20221103004838.26331-5-e@80x24.org> In-Reply-To: <20221103004838.26331-1-e@80x24.org> References: <20221103004838.26331-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Another teeny step towards v5.12. --- Documentation/txt2pre | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/txt2pre b/Documentation/txt2pre index 82573a30..b9d74fb7 100755 --- a/Documentation/txt2pre +++ b/Documentation/txt2pre @@ -1,12 +1,12 @@ -#!/usr/bin/env perl -# Copyright (C) 2014-2021 all contributors +#!perl -w +# n.b. this is invoked via $(PERL) in makefiles +# Copyright (C) all contributors # License: AGPL-3.0+ # # Stupid script to make HTML from preformatted, utf-8 text versions, # only generating links for http(s). Markdown does too much # and requires indentation to output preformatted text. -use strict; -use warnings; +use v5.12; use PublicInbox::Linkify; use PublicInbox::Hval qw(ascii_html); my (%xurls, %lei);