From 82a391b40c0e8099ae1ab1df2e3126894ccce609 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Thu, 19 Feb 2026 10:56:18 +0100 Subject: [PATCH] Change "if not" into "unless", more perl-like --- glv.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glv.pl b/glv.pl index 1074dc2..c6d27b1 100755 --- a/glv.pl +++ b/glv.pl @@ -6,7 +6,7 @@ my @lines = `curl "https://gitlab.com/gitlab-org/gitlab-foss/-/raw/master/CHANGE foreach (@lines) { if (/^##\s+(\d+\.\d+\.\d+)\s+\((\d+-\d+-\d+)/) { print "$1 [$2]\n"; - if (!$all) { + unless ($all) { last; } }