Hi Helio,
A similar question came up on the list. Please refer to the thread
http://archive.develooper.com/beginners%40perl.org/msg00334.html and you should
find an (at least good portion of) answer to your question.
Cheers,
Kevin
On Wed, Apr 25, 2001 at 04:22:17AM -0700, Helio S. Junior ([EMAIL PROTECTED])
spew-ed forth:
> Hello,
>
> How do i read a simple file and look for "repeated
> words" in each line, writing out the words i have
> found and the numbers of line they were found?
>
> eg:
> File ==> Test.Dat
> sample line of text.
> this line follows another line.
> This is the last line.
>
Writing CGI Applications with Perl - http://perlcgi-book.com
--
"Families is where out nation finds hope, where wings take dream."
-- G.W. Bush, LaCrosse, WI 10/18/2000