http://www.perlmonks.org?node_id=1143246


in reply to Understanding this code

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^2: Understanding this code
by GotToBTru (Prior) on Sep 28, 2015 at 14:47 UTC

    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
    A reply falls below the community's threshold of quality. You may see it by logging in.