From a486cef99ec7ad33329e1671533b28cf06980bae Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Sun, 4 Nov 2012 10:21:38 -0600 Subject: @sbos is an array, dont call it as an array ref --- SBO-Lib/lib/SBO/Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SBO-Lib/lib/SBO/Lib.pm') diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 92c3f4d..adea1b3 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -230,7 +230,7 @@ sub get_sbo_location { } my %locations; my $fh = open_read $slackbuilds_txt; - for my $sbo (@$sbos) { + for my $sbo (@sbos) { my $regex = qr#LOCATION:\s+\.(/[^/]+/\Q$sbo\E)$#; while (my $line = <$fh>) { if (my $loc = ($line =~ $regex)[0]) { -- cgit v1.2.3