summaryrefslogtreecommitdiff
path: root/lib/Data/MultiValued/RangeContainer.pm
diff options
context:
space:
mode:
authorGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-11-25 15:33:44 +0000
committerGianni Ceccarelli <gianni.ceccarelli@net-a-porter.com>2011-11-25 15:33:44 +0000
commit15d8ff45fecd86558a00e1979a9800282793139c (patch)
treef3a12bb1eb1c39ee25f7f07f92d402eabc116def /lib/Data/MultiValued/RangeContainer.pm
parentBuild results of 44cf53d (on master) (diff)
parentminor fixes after seeing it on CPAN (diff)
downloaddata-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.tar.gz
data-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.tar.bz2
data-multivalued-15d8ff45fecd86558a00e1979a9800282793139c.zip
Build results of 75f2023 (on master)
Diffstat (limited to 'lib/Data/MultiValued/RangeContainer.pm')
-rw-r--r--lib/Data/MultiValued/RangeContainer.pm13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/Data/MultiValued/RangeContainer.pm b/lib/Data/MultiValued/RangeContainer.pm
index 0b8835b..18672bc 100644
--- a/lib/Data/MultiValued/RangeContainer.pm
+++ b/lib/Data/MultiValued/RangeContainer.pm
@@ -267,8 +267,8 @@ C<from> C<to> C<value>.
my $value = $obj->get({ at => $point });
Retrieves the range that includes the given point. Throws a
-L<Data::MultiValued::Exceptions::RangeNotFound> exception if no range
-includes the point.
+L<Data::MultiValued::Exceptions::RangeNotFound|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::RangeNotFound>
+exception if no range includes the point.
=head2 C<get_or_create>
@@ -276,8 +276,9 @@ includes the point.
Retrieves the range that has the given extremes. If no such range
exists, creates a new range, splicing any existing overlapping range,
-and returns it. Throws L<Data::MultiValued::Exceptions::BadRange> if
-C<< $min > $max >>.
+and returns it. Throws
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
=head2 C<clear>
@@ -288,7 +289,9 @@ exists, splices any existing overlapping range so that C<<
$obj->get({at => $point }) >> for any C<< $min <= $point < $max >>
will die.
-Throws L<Data::MultiValued::Exceptions::BadRange> if C<< $min > $max >>.
+Throws
+L<Data::MultiValued::Exceptions::BadRange|Data::MultiValued::Exceptions/Data::MultiValued::Exceptions::BadRange>
+if C<< $min > $max >>.
=head2 C<all_ranges>