![]() |
|
We don't bite newbies here... much | |
PerlMonks |
Re^9: Using filepath method to identify an .html pageby blue_cowdawg (Monsignor) |
on Jan 22, 2013 at 19:23 UTC ( #1014769=note: 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 Section
Seekers of Perl Wisdom
|
|