module::pluggable::object patches from rolsky
Kieren Diment [Mon, 27 Aug 2007 14:08:46 +0000 (14:08 +0000)]
lib/Catalyst.pm

index 06bcf09..ddc9173 100644 (file)
@@ -1865,6 +1865,7 @@ sub setup_components {
         
     my $locator = Module::Pluggable::Object->new(
         search_path => [ map { s/^(?=::)/$class/; $_; } @paths ],
+        except => qr/\.#/,
         %$config
     );