![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Sorry, what part of "I don't do snakes" isn't clear?
Not that hard given the split that proceeds the code you quoted. Iterate over each element of the array and find the ordinal of the character in that element. Add the integer value of that ordinal to the previous value and perform a modulo arithmetic operation on the sum and store the sum back into the original scalar. Peter L. Berghold -- Unix Professional Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg In reply to Re^9: Using filepath method to identify an .html page
by blue_cowdawg
|
|