From 8ceb2df1b9e3368e765076b23ee0ecd4a2532a46 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 19 Nov 2009 14:54:23 -0500 Subject: use foreach instead of for when looping thru array --- Debian/Debhelper/Dh_Lib.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Debian/Debhelper/Dh_Lib.pm') diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm index c5b06f69..a4e35709 100644 --- a/Debian/Debhelper/Dh_Lib.pm +++ b/Debian/Debhelper/Dh_Lib.pm @@ -576,7 +576,7 @@ sub filedoublearray { # as if we were in the specified directory, so the # filenames that come out are relative to it. if (defined $globdir && ! compat(2)) { - for (map { glob "$globdir/$_" } split) { + foreach (map { glob "$globdir/$_" } split) { s#^$globdir/##; push @line, $_; } -- cgit v1.2.3