read-httpd-conf
changeset 2 514fe7b72d65
parent 1 992581cd9e89
child 3 8e064c262aa5
--- a/read-httpd-conf	Thu Jan 30 15:31:48 2014 +0100
+++ b/read-httpd-conf	Wed Feb 05 12:49:02 2014 +0100
@@ -14,7 +14,7 @@
 
             #print "#$file:$.:$_";
             say "# $. $file INCLUDE $+{file}";
-            read_file($_) foreach (glob $+{file});
+            read_file($_) foreach (glob -d $+{file} ? "$+{file}/*" : $+{file});
             next;
         }
         print;