good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: why won't is print every value???by vladb (Vicar) |
on Jun 05, 2002 at 15:25 UTC ( [id://171864]=note: print w/replies, xml ) | Need Help?? |
Well, you seem to be storing only one line in your array. Every loop, you actually clear your array and set it to the values of a new line like so:
I guess you might look at changing this into this: However, I guess you'll also have to alter the following if (...) {} block as so: If I understand your code right ;-). note: I didn't have a chance to actually test the code ;/. Pardon me if it breaks anywhere ;) _____________________
In Section
Seekers of Perl Wisdom
|
|