Skip to content

Instantly share code, notes, and snippets.

@dogbert17
Created September 12, 2016 20:14
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 dogbert17/f0bac4e05f46b87327006ebccec05a26 to your computer and use it in GitHub Desktop.
Save dogbert17/f0bac4e05f46b87327006ebccec05a26 to your computer and use it in GitHub Desktop.
Fix
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