in reply to Pairing values from two arrays
You can access your pair with:@gradient_array= ( \@x_values, \@y_values );
But that's not much better than accessing two arrays, regarding memory.$x=$gradient_array[0]->[$index]; $y=$gradient_array[1]->[$index];
|
---|