Perl: the Markov chain saw | |
PerlMonks |
Re^9: Odometer pattern iterator (in C).by hdb (Monsignor) |
on May 29, 2015 at 15:12 UTC ( [id://1128298]=note: print w/replies, xml ) | Need Help?? |
You cannot do this inplace:
as you are overwriting values that are still needed. This corresponds to the "reversing" the string part of the regex. In addition, you misread the formula, there is no += involved.
In Section
Seekers of Perl Wisdom
|
|