]> mj.ucw.cz Git - temple.git/commitdiff
Fixed an escape.
authorMartin Mares <mj@ucw.cz>
Wed, 1 Oct 2008 19:57:17 +0000 (21:57 +0200)
committerMartin Mares <mj@ucw.cz>
Wed, 1 Oct 2008 19:57:17 +0000 (21:57 +0200)
UCW/Temple.pm [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index 41af968..d3f2cc4
@@ -95,7 +95,7 @@ sub parse_string($) {
                } elsif ($t =~ /\G\@\[/cgs) {
                        my $x = get_nested(\$t, '\[', '\]');
                        $x =~ s/^\[//;
-                       $x =~ s/$\]//;
+                       $x =~ s/\$\]//;
                        eval_if_ok($x);
                } elsif ($t =~ /\G\@(\w+)\(/cgs) {
                        my $func = $1;