Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^9: Using filepath method to identify an .html page

by blue_cowdawg (Monsignor)
on Jan 22, 2013 at 19:23 UTC ( #1014769=note: print w/replies, xml ) Need Help??


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

      Perl is great, its just too tough for me. Python is more clear. I need your help

Sorry, what part of "I don't do snakes" isn't clear?

      I want to understand this.

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
  • Comment on Re^9: Using filepath method to identify an .html page

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1014769]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2023-06-09 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (35 votes). Check out past polls.

    Notices?