From: Eric Wong Date: Thu, 3 Nov 2022 00:48:36 +0000 (+0000) Subject: doc: txt2pre: modernize and use v5.12 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=f744f87b2e4fe553cc237f6653ab436f7f03c6c1 doc: txt2pre: modernize and use v5.12 Another teeny step towards v5.12. --- 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);