diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:10:35 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-01-10 05:10:35 -0500 |
| commit | c7daeada10962635b104f76576bafe674e5b54f5 (patch) | |
| tree | fa64faf069041ac414b4e7ffbb4e72c5a33352d5 /bin/sbodb.pl | |
| parent | ce17faeb7bfe0844a6d7ab8e4d046cc674cf6f95 (diff) | |
| download | limnoria.slackfacts.plugins-c7daeada10962635b104f76576bafe674e5b54f5.tar.gz | |
Localize variable properly.
Diffstat (limited to 'bin/sbodb.pl')
| -rwxr-xr-x | bin/sbodb.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sbodb.pl b/bin/sbodb.pl index fc2d3ec..3e4bc98 100755 --- a/bin/sbodb.pl +++ b/bin/sbodb.pl @@ -160,13 +160,13 @@ EOF open $tagstxt, "<" . $sbopath . "/TAGS.txt" or die $!; while(<$tagstxt>) { - my %seen; my ($build, $t, @tags); chomp; next if /: No tags found for/; ($build, $t) = /^([^:]*):\s+(.*)$/; @tags = split /,/, $t; for(@tags) { + my %seen; next if /^\s*$/; next if $seen{$_}++; s/'/''/g; |
