diff options
author | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2012-12-11 17:08:10 +0000 |
---|---|---|
committer | Gianni Ceccarelli <gianni.ceccarelli@net-a-porter.com> | 2012-12-11 17:10:33 +0000 |
commit | f3843b86e5173a11c084287c00edf0fa1f9fb817 (patch) | |
tree | 064fccbf68d24fe88e2c844b8a7a4f9cd9114946 /lib/Data/MultiValued/Tags.pm | |
parent | fake bump (diff) | |
download | data-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.tar.gz data-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.tar.bz2 data-multivalued-f3843b86e5173a11c084287c00edf0fa1f9fb817.zip |
add all_tags etcv0.0.7_1-dzilla
Diffstat (limited to 'lib/Data/MultiValued/Tags.pm')
-rw-r--r-- | lib/Data/MultiValued/Tags.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Data/MultiValued/Tags.pm b/lib/Data/MultiValued/Tags.pm index 063a778..2e8f38e 100644 --- a/lib/Data/MultiValued/Tags.pm +++ b/lib/Data/MultiValued/Tags.pm @@ -51,7 +51,7 @@ just stored. sub set { my ($self,%args) = validated_hash( \@_, - tag => { isa => 'Str', optional => 1, }, + tag => { isa => 'Maybe[Str]', optional => 1, }, value => { isa => 'Any', }, ); @@ -78,7 +78,7 @@ untouched. sub get { my ($self,%args) = validated_hash( \@_, - tag => { isa => 'Str', optional => 1, }, + tag => { isa => 'Maybe[Str]', optional => 1, }, ); $self->_storage->get(\%args) @@ -100,7 +100,7 @@ is no way to just clear the value for the C<undef> tag. sub clear { my ($self,%args) = validated_hash( \@_, - tag => { isa => 'Str', optional => 1, }, + tag => { isa => 'Maybe[Str]', optional => 1, }, ); $self->_storage->clear(\%args); |