Skip to content

Commit

Permalink
Add Any.eval with obvious definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
colomon committed Dec 19, 2009
1 parent 21558a9 commit 9d5018c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Any-str.pm
Expand Up @@ -157,6 +157,10 @@ augment class Any {
$char
}

multi method eval() {
eval(~self);
}

multi method flip() is export {
(~self).split('').reverse().join;
}
Expand Down

0 comments on commit 9d5018c

Please sign in to comment.