From 0e21a77db5f08a70f73eea70c5edcb4f03ddb119 Mon Sep 17 00:00:00 2001 From: "Paul Buetow (mars.fritz.box)" Date: Mon, 30 Sep 2013 23:17:32 +0200 Subject: foo --- dev.buetow.org/content/home.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'dev.buetow.org/content/home.xml') diff --git a/dev.buetow.org/content/home.xml b/dev.buetow.org/content/home.xml index 0778d4c..961d985 100644 --- a/dev.buetow.org/content/home.xml +++ b/dev.buetow.org/content/home.xml @@ -39,8 +39,7 @@ my $ret = ''; - for my $found (@found) { - next if $found =~ /\.foo$/; + for my $found (grep !/\.foo$/, @found) { $found =~ /.*hosts.(.*?).$tag/; my $host = $1; -- cgit v1.2.3