From: Darren Chamberlain Date: Tue, 2 Dec 2003 18:39:03 +0000 (+0000) Subject: quotemeta for directory names. See https://rt.cpan.org/Ticket/Display.html?id=4505. X-Git-Tag: v0.06~254 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=04db8601dbc35b29bff4fb155ca3c55107181478;p=dbsrgits%2FSQL-Translator.git quotemeta for directory names. See https://rt.cpan.org/Ticket/Display.html?id=4505. --- diff --git a/lib/SQL/Translator.pm b/lib/SQL/Translator.pm index 6f51d52..838df9a 100644 --- a/lib/SQL/Translator.pm +++ b/lib/SQL/Translator.pm @@ -1,7 +1,7 @@ package SQL::Translator; # ---------------------------------------------------------------------- -# $Id: Translator.pm,v 1.48 2003-11-07 16:57:25 kycl4rk Exp $ +# $Id: Translator.pm,v 1.49 2003-12-02 18:39:03 dlc Exp $ # ---------------------------------------------------------------------- # Copyright (C) 2003 Ken Y. Clark , # darren chamberlain , @@ -29,7 +29,7 @@ use base 'Class::Base'; require 5.004; $VERSION = '0.04'; -$REVISION = sprintf "%d.%02d", q$Revision: 1.48 $ =~ /(\d+)\.(\d+)/; +$REVISION = sprintf "%d.%02d", q$Revision: 1.49 $ =~ /(\d+)\.(\d+)/; $DEBUG = 0 unless defined $DEBUG; $ERROR = ""; @@ -683,7 +683,7 @@ sub _list { my $mod = $_; $mod =~ s/\.pm$//; my $cur_dir = $File::Find::dir; - my $base_dir = catfile 'SQL', 'Translator', $uctype; + my $base_dir = quotemeta catfile 'SQL', 'Translator', $uctype; # # See if the current directory is below the base directory.