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


in reply to Re^8: Using filepath method to identify an .html page
in thread Using filepath method to identify an .html page

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