SPUG: Sorting the contents of a scalar?

Atom Powers atom.powers at gmail.com
Mon Feb 26 15:28:35 PST 2007


Nevermind. This worked:

sort( qq/$hash{$value}/ )

On 2/26/07, Atom Powers <atom.powers at gmail.com> wrote:
> This seems like it should be so easy; but I can't find anything that
> would tell me why this doesn't work or how to do it correctly.
>
> sort( qw/$hash{$value}/ )
>
> Where $hash{$value} is something like "mary jane joe bob".
>
> Any ideas?
>
> --
> --
> Perfection is just a word I use occasionally with mustard.
> --Atom Powers--
>


-- 
--
Perfection is just a word I use occasionally with mustard.
--Atom Powers--


More information about the spug-list mailing list