NAME¶
Debian::LicenseReconcile::CopyrightDatum::Holder - encapsulate pair
VERSION¶
Version 0.5
SYNOPSIS¶
use Debian::LicenseReconcile::CopyrightDatum::Holder;
my $holder = Debian::LicenseReconcile::CopyrightDatum::Holder->new(
theirs=>'AA',
ours=>'BA',
);
if ($holder > $holder2) {
...
}
DESCRIPTION¶
We want to be able to quickly find the two texts that are closest to each other.
So these objects have "ours", "theirs" and
"width" fields. The comparison just compares by the distance field.
SUBROUTINES/METHODS¶
new¶
width¶
ours¶
theirs¶
touches¶
is_ambiguous¶
relative_width¶
AUTHOR¶
Nicholas Bamber, "<nicholas at periapt.co.uk>"
LICENSE AND COPYRIGHT¶
Copyright 2012 Nicholas Bamber.
This program is free software; you can redistribute it and/or modify it under
the terms of either: the GNU General Public License as published by the Free
Software Foundation; or the Artistic License.
See
http://dev.perl.org/licenses/ for more information.