From: Rafael Kitover Date: Sat, 16 May 2009 19:19:41 +0000 (+0000) Subject: remove unnecessary escape X-Git-Tag: 1.16~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=555cab18422e471424b07d33ed7466c70cb6464d;p=catagits%2FCatalyst-Devel.git remove unnecessary escape --- diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index fb41b44..7401e6d 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -48,7 +48,7 @@ sub mk_app { # Needs to be here for PAR require Catalyst; - if ( $name =~ /[^\w\:]/ || $name =~ /^\d/ || $name =~ /\b:\b|:{3,}/) { + if ( $name =~ /[^\w:]/ || $name =~ /^\d/ || $name =~ /\b:\b|:{3,}/) { warn "Error: Invalid application name.\n"; return 0; }