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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/p5-Tie-Array-Sorted | 1.41 |
| FreeBSD | devel/p5-Tie-Array-Sorted | 1.41 |
| OpenBSD | devel/p5-Tie-Array-Sorted | 1.41p3 |
| NetBSD | devel/p5-Tie-Array-Sorted | 1.41nb18 |
| HardenedBSD | devel/p5-Tie-Array-Sorted | 1.41 |
| GhostBSD | devel/p5-Tie-Array-Sorted | 1.41 |
Install
Binary package:
pkg install p5-Tie-Array-Sorted
From DPorts:
cd /usr/dports/devel/p5-Tie-Array-Sorted && make install clean