---
name: "Debian::LicenseReconcile::CopyrightDatum::Holder"
section: "3pm"
platform: "linux"
package: "license-reconcile"
version: "0.16"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Debian::LicenseReconcile::CopyrightDatum::Holder"
---

# Debian::LicenseReconcile::CopyrightDatum::Holder(3pm)

encapsulate pair

## NAME

Debian::LicenseReconcile::CopyrightDatum::Holder - encapsulate pair

## VERSION

Version 0.16

## 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, 2015, 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.
