Alden Meneses wrote:
if I don't use a loop it seems that it only processes 1st two lines.
is there another way I can process the file without a loop?

In your initial post you said:

"so i have a text file that looks like this

10/04/2004 UPL TZOO CME CRDN WIBC PETD SMF
10/11/2004 UPL TZOO CME WIBC PETD VNBC AMED

anyway each line has 1 date field and 100 stock symbols and they are
in order. I am trying to compare the different lines to see what has
changed."

and when I said that the outer loops were redundant, I based it on the
assumption that there are just two lines that you want to compare.
Actually, everything I've said was based on that assumption.

Maybe it's time that you *really* explain what it is you want to do,
including which lines you want to stuff in which arrays and which arrays
you want to compare with which arrays...

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to