hide .columns files
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 Dec 2012 22:05:08 +0000 (23:05 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sun, 16 Dec 2012 22:05:08 +0000 (23:05 +0100)
lib/MojoFacets/Data.pm

index 257e8a2..a2d150b 100644 (file)
@@ -34,6 +34,8 @@ sub import_module {
 
 #      warn "# import_module $full_path\n";
 
+       return if $full_path =~ m/\.columns$/;
+
        foreach my $ext ( keys %{ $imports->{file} } ) {
                if ( -f $full_path && $full_path =~ m/$ext/i ) {
                        return $imports->{file}->{$ext};