summaryrefslogtreecommitdiff
path: root/lib/Data/MultiValued/TagContainer.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data/MultiValued/TagContainer.pm')
-rw-r--r--lib/Data/MultiValued/TagContainer.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Data/MultiValued/TagContainer.pm b/lib/Data/MultiValued/TagContainer.pm
index b7a9b13..bdeca24 100644
--- a/lib/Data/MultiValued/TagContainer.pm
+++ b/lib/Data/MultiValued/TagContainer.pm
@@ -35,6 +35,7 @@ has _storage => (
_get_tag => 'get',
_create_tag => 'set',
_delete_tag => 'delete',
+ all_tags => 'keys',
},
);
@@ -150,6 +151,13 @@ sub clear {
return;
}
+=head2 C<all_tags>
+
+ my @tags = $obj->all_tags;
+
+Returns all the tags defined in this object. Does not return the
+C<undef> tag.
+
=head2 C<_create_new_inferior>
Returns a new "storage cell", by default an empty hashref. See