Jerrad Pierce wrote:
>
> you can use sort, of the values are hashes or indexes:
>
> foreach ( sort { $a->{name} cmp $b->{name} keys %hash )
> or
> foreach ( sort { $a->[0] cmp $b->[0] keys %hash )
In this case I can't use sort since the order is completely arbitrary,
based on the SQL issued. Hence the need for the array. ;-)
--
Drew Taylor
Vialogix Communications, Inc.
501 N. College Street
Charlotte, NC 28202
704 370 0550
http://www.vialogix.com/
- Re: Data structure question Perrin Harkins
- Re: Data structure question Stas Bekman
- Re: Data structure question Drew Taylor
- Re: Data structure question Ken Miller
- Re: Data structure question Drew Taylor
- Re: Data structure question darren chamberlain
- Re: Data structure question Drew Taylor
- Re: Data structure question Stephen Zander
- Re: Data structure question Matt Sergeant
- RE: Data structure question Jerrad Pierce
- Drew Taylor
