in reply to Ordering objects using external index
A few examples of the data might have clarified your question. Do you mean something like this?
#! perl -slw use strict; my $uids = [ 9, 1, 4, 7, 2, 0, 3, 6, 8, 5 ]; my $msgs = [ qw[ zero one two three four five six seven eight nine ] ] +; my @msgsByUid = @$msgs[ @$uids ]; print for @msgsByUid; __END__ P:\test>junk nine one four seven two zero three six eight five
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Ordering objects using external index
by kappa (Chaplain) on Sep 06, 2004 at 21:12 UTC | |
by BrowserUk (Patriarch) on Sep 06, 2004 at 21:36 UTC | |
by kappa (Chaplain) on Sep 07, 2004 at 11:14 UTC |