BSD Ports

devel/p5-Tie-Array-Sorted 1.41 DragonFly

Perl array which is kept sorted

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2+
Categories
devel, perl5
Package size
6.5 KiB, 9.0 KiB installed

Description

Tie::Array::Sorted represents an ordinary array, which is kept sorted. All pushes and unshifts cause the elements in question to be inserted in the appropriate location to maintain order.

Direct stores ($a[10] = "wibble") effectively splice out the original value and insert the new element. It's not clear why you'd want to use direct stores like that, but this module does the right thing if you do.

In the other systems

SystemPortVersion
DragonFlydevel/p5-Tie-Array-Sorted1.41
FreeBSDdevel/p5-Tie-Array-Sorted1.41
OpenBSDdevel/p5-Tie-Array-Sorted1.41p3
NetBSDdevel/p5-Tie-Array-Sorted1.41nb18
HardenedBSDdevel/p5-Tie-Array-Sorted1.41
GhostBSDdevel/p5-Tie-Array-Sorted1.41

Install

Binary package:

pkg install p5-Tie-Array-Sorted

From DPorts:

cd /usr/dports/devel/p5-Tie-Array-Sorted && make install clean

Dependencies

Run dependencies 1
Required by 1