summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev.buetow.org/content/home.xml3
1 files changed, 1 insertions, 2 deletions
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;