Created
September 12, 2016 20:14
-
-
Save dogbert17/f0bac4e05f46b87327006ebccec05a26 to your computer and use it in GitHub Desktop.
Fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/core/Cool.pm b/src/core/Cool.pm | |
index b5a25a3..8db64e6 100644 | |
--- a/src/core/Cool.pm | |
+++ b/src/core/Cool.pm | |
@@ -128,7 +128,7 @@ my class Cool { # declared in BOOTSTRAP | |
method flip() { | |
self.Str.flip | |
} | |
- method trans(*@a) { self.Str.trans(@a) } | |
+ method trans(|c) { self.Str.trans(|c) } | |
proto method starts-with(|) {*} | |
multi method starts-with(Cool:D: Str(Cool) $needle) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment