From 237c2131e3f216eccd4b472e456d16f4dbe20456 Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Fri, 5 Aug 2005 20:43:55 +0000 Subject: * remove a quotemeta() call in Config::Grammar to allow metacharacters at the right side of '@define' -- niko, reported by Warrick FitzGerald --- lib/Config/Grammar.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Config/Grammar.pm') diff --git a/lib/Config/Grammar.pm b/lib/Config/Grammar.pm index 5bc76a3..7cd71f1 100644 --- a/lib/Config/Grammar.pm +++ b/lib/Config/Grammar.pm @@ -587,7 +587,7 @@ sub _parse_line($$$) return 1; }; /^\@define\s+(\S+)\s+(.*)$/ and do { - $self->{defines}{$1}=quotemeta $2; + $self->{defines}{$1}=$2; return 1; }; -- cgit v1.2.3-24-g4f1b