Change "if not" into "unless", more perl-like

This commit is contained in:
2026-02-19 10:56:18 +01:00
parent 1d8ac31e2f
commit 82a391b40c

2
glv.pl
View File

@@ -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;
}
}