Fixed additional file installation for multi level app names
Sebastian Riedel [Mon, 5 Dec 2005 20:18:01 +0000 (20:18 +0000)]
Changes
lib/Module/Install/Catalyst.pm

diff --git a/Changes b/Changes
index 2e97289..50842d0 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.62
+        - Fixed additional file installation for multi level app names
         - Added REDIRECT_URL support for applications running behind
           a RewriteRule in Apache. (Carl Franks)
         - Fixed FastCGI engine under win32. (Carl Franks)
index 63f2546..c3cda12 100644 (file)
@@ -54,7 +54,7 @@ sub catalyst_files {
         push @files, $name;
     }
     closedir CATDIR;
-    my @path = split '::', $self->name;
+    my @path = split '-', $self->name;
     for my $orig (@files) {
         my $path = File::Spec->catdir( 'blib', 'lib', @path, $orig );
         rcopy( $orig, $path );