Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Cool.eval
  • Loading branch information
moritz committed Sep 19, 2011
1 parent 35ec9c7 commit d7f45ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Cool.pm
Expand Up @@ -170,6 +170,10 @@ my class Cool {
method trim () { self.Stringy.trim };
method trim-leading () { self.Stringy.trim-leading };
method trim-trailing() { self.Stringy.trim-trailing };

method eval(*%opts) {
eval(self.Stringy, |%opts);
}
}

sub chop($s) { $s.chop }
Expand Down

0 comments on commit d7f45ff

Please sign in to comment.