in reply to Re: Understanding this code
in thread Understanding this code

If you can't understand it, how could you re-write it?

This code might possibly be daunting at first glance, but someone moderately versed in Perl would have no trouble parsing it. This is practically self-documenting. "Record all the values between the value of an element and the value of the next one, for every element in the array (except the very last)."

Dum Spiro Spero

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.