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
In reply to Re: Sort problem
by Hofmator
in thread Sort problem
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |