X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FCookbook.pod;fp=lib%2FCatalyst%2FManual%2FCookbook.pod;h=24a515b2ccab5136bbd2baa34cf9f3b1295aa980;hp=293c5c81784e145e693d88c1b17a7e7298d3f412;hb=59bcb26b9595d360847b32c3afd7fd7336036642;hpb=978ca23da7b760c66ac4750205bb55407a4c3217 diff --git a/lib/Catalyst/Manual/Cookbook.pod b/lib/Catalyst/Manual/Cookbook.pod index 293c5c8..24a515b 100644 --- a/lib/Catalyst/Manual/Cookbook.pod +++ b/lib/Catalyst/Manual/Cookbook.pod @@ -1,4 +1,4 @@ -=head1 NAME +S=head1 NAME Catalyst::Manual::Cookbook - Cooking with Catalyst @@ -205,6 +205,28 @@ This is equivalent to: See also L. +=head1 Skipping your VCS's directories + +Catalyst uses Module::Pluggable to load Models, Views and Controllers. +Module::Pluggable will scan through all directories and load modules +it finds. Sometimes you might want to skip some of these directories, +for example when your version control system makes a subdirectory with +meta-information in every version-controlled directory. While +Catalyst skips subversion and CVS directories already, there are other +source control systems. Here is the configuration you need to add +their directories to the list to skip. + +You can make catalyst skip these directories using the Catalyst config: + + # Configure the application + __PACKAGE__->config( + name => 'MyApp', + setup_components => { except => qr/SCCS/ }, + ); + +See the Module::Pluggable manual page for more information on B +and other options. + =head1 Users and Access Control Most multiuser, and some single user web applications require that