in reply to Insert Into a Sorted Array

ketema,
I am surprised no one mentioned Tie::Array::Sorted. It is as simple as pushing a new element into the array. Additionally, your sort routine can be user-defined.

Cheers - L~R