From: Sebastian Riedel Date: Wed, 5 Apr 2006 11:16:21 +0000 (+0000) Subject: Added app name with :: support for PAR X-Git-Tag: 5.7099_04~649 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=2fcc34fa449a778ead3084be947d7c1719549484 Added app name with :: support for PAR --- diff --git a/lib/Module/Install/Catalyst.pm b/lib/Module/Install/Catalyst.pm index a59893c..95d97b8 100644 --- a/lib/Module/Install/Catalyst.pm +++ b/lib/Module/Install/Catalyst.pm @@ -208,7 +208,7 @@ sub _catalyst_par { die "Please install Module::ScanDeps\n" if $@; my $root = $FindBin::Bin; - $class_name = s/-/::/g; + $class_name =~ s/-/::/g; my $path = File::Spec->catfile( 'blib', 'lib', split( '::', $class_name ) ); $path .= '.pm'; unless ( -f $path ) {