Skip to content

Instantly share code, notes, and snippets.

Created August 19, 2015 14:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/986ba2b9e63d1763601d to your computer and use it in GitHub Desktop.
Save anonymous/986ba2b9e63d1763601d to your computer and use it in GitHub Desktop.
From 0ecf1f1c5d33be1d8c99ef12dfb51ddb0d8039bc Mon Sep 17 00:00:00 2001
From: Luca Bennati <labensigma@gmail.com>
Date: Wed, 19 Aug 2015 16:29:34 +0200
Subject: [PATCH] Fix hash initialization
---
lib/TestML/Parser.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/TestML/Parser.pm b/lib/TestML/Parser.pm
index 2418cc0..c944efd 100644
--- a/lib/TestML/Parser.pm
+++ b/lib/TestML/Parser.pm
@@ -63,7 +63,7 @@ class TestML::Parser::Actions {
method sq_string($/) { make ~$/ }
method sq_escape($/) {
- my %h = '\\' => "\\",
+ my %h = '\\' => "\\";
make %h{~$/};
}
--
2.5.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment