summaryrefslogtreecommitdiff
path: root/devel/p5-Tie-Array-Sorted/pkg-descr
blob: 2e1761a8be12fdfa9efcc21b6a16327c9d042c35 (plain) (blame)
1
2
3
4
5
6
7
8
9
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.

WWW: https://metacpan.org/release/Tie-Array-Sorted