git: f68a2e1ea9 - main - ports.cgi: enable perl warnings by default

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=f68a2e1ea9d1033ad52577e3be2f757e524b1c1c

commit f68a2e1ea9d1033ad52577e3be2f757e524b1c1c
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2026-01-19 17:40:20 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2026-01-19 17:40:20 +0000

    ports.cgi: enable perl warnings by default
---
 website/content/en/cgi/ports.cgi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 65f154b080..fe8bd114ed 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -29,6 +29,7 @@
 
 use POSIX qw(strftime);
 use Time::Local;
+use warnings;
 
 our $hsty_base;
 require "./cgi-style.pl";
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.