From: Sebastian Riedel Date: Wed, 5 Apr 2006 11:03:01 +0000 (+0000) Subject: Added app name with :: support for PAR X-Git-Tag: 5.7099_04~651 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=db5891bf6f31dde09595623f4fa6037ba4d8e21f Added app name with :: support for PAR --- diff --git a/Changes b/Changes index b0d9f87..ef366b5 100644 --- 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. diff --git a/lib/Module/Install/Catalyst.pm b/lib/Module/Install/Catalyst.pm index ff46f44..a59893c 100644 --- a/lib/Module/Install/Catalyst.pm +++ b/lib/Module/Install/Catalyst.pm @@ -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 ) {