in reply to Re: sorting an array
in thread sorting an array
I shall try to work with the anonymous arrays going forward rather than the named ones but it does all start to get rather obscure and difficult for a simpleton such as me...while (@online) { push (@{$links[$_]}, shift @online) for 0..2; } @links1 = @{ $links[0] }; @links2 = @{ $links[1] }; @links3 = @{ $links[2] }; print "@links1<br>@links2<br>@links3";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: sorting an array
by shmem (Chancellor) on Apr 07, 2007 at 19:52 UTC |