Added app name with :: support for PAR
Sebastian Riedel [Wed, 5 Apr 2006 11:03:01 +0000 (11:03 +0000)]
Changes
lib/Module/Install/Catalyst.pm

diff --git a/Changes b/Changes
index b0d9f87..ef366b5 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
 This file documents the revision history for Perl extension Catalyst.
 
 5.67   
+        - Added app name with :: support for PAR
         - Added $c->models/views/controllers
         - Static::Simple: Unescape the URI path before looking for the file.
           This fixes issues with files that have spaces.
index ff46f44..a59893c 100644 (file)
@@ -208,6 +208,7 @@ sub _catalyst_par {
     die "Please install Module::ScanDeps\n" if $@;
 
     my $root = $FindBin::Bin;
+    $class_name = s/-/::/g;
     my $path = File::Spec->catfile( 'blib', 'lib', split( '::', $class_name ) );
     $path .= '.pm';
     unless ( -f $path ) {