---
name: "Heap::Binary"
section: "3pm"
platform: "linux"
package: "libheap-perl"
version: "0.80-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Heap::Binary"
---

# Heap::Binary(3pm)

a binary heap to keep data partially sorted

## NAME

Heap::Binary - a binary heap to keep data partially sorted

## SYNOPSIS

```
  use Heap::Binary;
  $heap = Heap::Binary->new;
  # see Heap(3) for usage
```

## DESCRIPTION

Keeps an array of elements in heap order.  The *heap* method of an element is used to store the index into the array that refers to the element.

See Heap for details on using this module.

## AUTHOR

John Macdonald, john@perlwolf.com

## COPYRIGHT

Copyright 1998-2007, O'Reilly & Associates.

This code is distributed under the same copyright terms as perl itself.

## SEE ALSO

**Heap**(3), **Heap::Elem**(3).
