From: Jess Robinson Date: Sat, 3 Mar 2007 12:15:03 +0000 (+0000) Subject: Fix to $filename from Carl Vincent X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=32be057ce33f8a211402ecfbd714bc2bea4c8d73;p=dbsrgits%2FDBIx-Class-Historic.git Fix to $filename from Carl Vincent --- diff --git a/lib/DBIx/Class/Schema.pm b/lib/DBIx/Class/Schema.pm index 8f8d846..3ab14fd 100644 --- a/lib/DBIx/Class/Schema.pm +++ b/lib/DBIx/Class/Schema.pm @@ -788,7 +788,7 @@ sub ddl_filename { my ($self, $type, $dir, $version) = @_; my $filename = ref($self); - $filename =~ s/::/-/; + $filename =~ s/::/-/g; $filename = "$dir$filename-$version-$type.sql"; return $filename;