# Pastebin YlPJhI5m diff --git a/src/core/Cool.pm b/src/core/Cool.pm index 998de6e..61f8cbc 100644 --- a/src/core/Cool.pm +++ b/src/core/Cool.pm @@ -129,8 +129,8 @@ my class Cool { # declared in BOOTSTRAP method trans(|c) { self.Str.trans(|c) } proto method starts-with(|) {*} - multi method starts-with(Cool:D: Str(Cool) $needle) { - self.Str.starts-with($needle) + multi method starts-with(Cool:D: |c) { + self.Str.starts-with(|c) } proto method ends-with(|) {*}