Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re^2: Understanding this codeby GotToBTru (Prior) |
on Sep 28, 2015 at 14:47 UTC ( [id://1143257]=note: print w/replies, xml ) | Need Help?? |
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)."
In Section
Seekers of Perl Wisdom
|
|