in reply to Order-Preserving and Unique: List Cleanup
If I understand what you're after then Tie::IxHash is it.
Tie::IxHash - ordered associative arrays for Perl
I has the uniqueness of a hash and the order of an array. In your case you could just use the keys and ignored the values. You can also access all normal array operations via the tied object.
Brad
In Section
Meditations