in reply to Sort problem
which uses the value of the subscript separator for multiple hashes, by default "\034" which occurs rather seldom in normal text. However this doens't work if your data can contain anything.{ local $" = $;; @out = sort {"@$a" cmp "@$b"} @in; }
-- Hofmator
|
|---|