in reply to relating arrays

Or just use a hash if the actual order isn't important.

my %data = ('0.001' => '70.1', '0.34' => '75.3', '0.456' => '76.5', '0.521' => '87.4');
__SIG__ use B; printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE;

Replies are listed 'Best First'.
Re: Re: relating arrays
by FamousLongAgo (Friar) on Dec 05, 2002 at 17:02 UTC
    Note that this will not work unless the elements of the first array ( keys in the hash ) are unique.