Hi
I have a very limited knowledge of perl so forgive me if this is a stupid question or if it seems very basic. I'm trying to write code that takes two texts submitted from an html form and compares them and then displays the following. The lines the texts have in common and also lists each word in the texts as well as how may times they appear in each text.
I dont know where to start however. I assume i have to read each text into an array but I'm not sure where to go from there. cay anyone write some code to start me off?
as i say I'm just a beginner so i hope this makes sense!
Cheers S
I have a very limited knowledge of perl so forgive me if this is a stupid question or if it seems very basic. I'm trying to write code that takes two texts submitted from an html form and compares them and then displays the following. The lines the texts have in common and also lists each word in the texts as well as how may times they appear in each text.
I dont know where to start however. I assume i have to read each text into an array but I'm not sure where to go from there. cay anyone write some code to start me off?
as i say I'm just a beginner so i hope this makes sense!
Cheers S
Comment