From f744f87b2e4fe553cc237f6653ab436f7f03c6c1 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 3 Nov 2022 00:48:36 +0000 Subject: [PATCH] doc: txt2pre: modernize and use v5.12 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); -- 2.44.0