Skip to content

Instantly share code, notes, and snippets.

@FROGGS
Created January 26, 2015 16:22
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 FROGGS/f23f86df557bc1732a43 to your computer and use it in GitHub Desktop.
Save FROGGS/f23f86df557bc1732a43 to your computer and use it in GitHub Desktop.
diff --git a/lib/Slang/Tuxic.pm b/lib/Slang/Tuxic.pm
index 9b0b893..ab82160 100644
--- a/lib/Slang/Tuxic.pm
+++ b/lib/Slang/Tuxic.pm
@@ -18,7 +18,7 @@ sub EXPORT(|) {
[ <!{$*QSIGIL}> || <!before '"' <-["]>*? [\s|$] > ] # dwim on "$foo."
<quote>
[ <?before '(' | '.(' | '\\'> || <.panic: "Quoted method name requires parenthesized arguments. If you meant to concatenate two strings, use '~'."> ]
- ] <.unsp>?
+ ] \s* <.unsp>?
[
[
| <?before \s*'('> \s* <args>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment