in reply to Re^7: 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
1. to see in regards of "specification" if this was indeed possible.
2. just wanted 1-line of Perl code to see it working, and then write the same 1-line in Python.
Wouldn't something like the following work as intended WITHOUT custom function?
I need your help
1. to see in regards of "specification" if this was indeed possible.
2. just wanted 1-line of Perl code to see it working, and then write the same 1-line in Python.
Wouldn't something like the following work as intended WITHOUT custom function?
Can you please explain the differences to what i have posted opposed to your coding:pin = int( htmlpage.encode("hex"), 16 ) % 10000
I want to understand this.foreach my $ltr(@ltrs){ $hash = ( $hash + ord($ltr)) %10000;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Using filepath method to identify an .html page
by blue_cowdawg (Monsignor) on Jan 22, 2013 at 19:23 UTC | |
Re^9: Using filepath method to identify an .html page
by karlgoethebier (Abbot) on Jan 22, 2013 at 22:02 UTC |
In Section
Seekers of Perl Wisdom