Fixed mkpath in Catalyst::Helper
Sebastian Riedel [Sun, 21 Aug 2005 17:30:10 +0000 (17:30 +0000)]
Changes
lib/Catalyst.pm
lib/Catalyst/Helper.pm

diff --git a/Changes b/Changes
index 72895a8..3e0539a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,7 +1,11 @@
 This file documents the revision history for Perl extension Catalyst.
 
+5.34  2005-08-21 00:00:00
+        - Fixed mkpath in Catalyst::Helper (Autrijus Tang)
+
 5.33  2005-08-10 15:25:00
        - Now with updated manifest.
+
 5.32  2005-08-10 15:10:00
        - Dispatcher might fail if object returns false. (Florian Ragwitz)
 
index 1b731a5..9a1149b 100644 (file)
@@ -13,7 +13,7 @@ our $CATALYST_SCRIPT_GEN = 4;
 
 __PACKAGE__->mk_classdata($_) for qw/arguments dispatcher engine log/;
 
-our $VERSION = '5.33';
+our $VERSION = '5.34';
 our @ISA;
 
 =head1 NAME
index 2af57d0..61b5a2d 100644 (file)
@@ -136,7 +136,7 @@ sub mk_component {
             my @path = split /\:\:/, $name;
             $file = pop @path;
             $path = File::Spec->catdir( $path, @path );
-            mkpath $path;
+            mkpath [$path];
         }
         $file = File::Spec->catfile( $path, "$file.pm" );
         $self->{file} = $file;