in reply to Re^2: How would you code this?in thread How would you code this?
You might also change the relevant code line to: next if $x <= $previous_x; [download] if you want to remove duplicate X values.
next if $x <= $previous_x; [download]