Skip to content

Commit

Permalink
Implement Hash.elems.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Mar 20, 2010
1 parent 752b4b8 commit 2d2b2d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/EnumMap.pm
Expand Up @@ -45,6 +45,10 @@ class EnumMap does Associative {
self.exists($key)
}

method elems() {
pir::elements__IP($!storage)
}

method exists($key) {
# Wish we could do pir:: for keyed things. *sigh*
?(Q:PIR {
Expand Down

0 comments on commit 2d2b2d5

Please sign in to comment.