From: "Bertrand Baesjou" <[EMAIL PROTECTED]>

Paul Johnson wrote:
On Fri, Jan 19, 2007 at 03:17:19PM +0100, Bertrand Baesjou wrote:

foreach $line (<INFILE>) {

See, this isn't a while loop, as you have in the subject.

That is the cause of your problems.
Damn, not very awake today I think. I also left an old subject line in.... But if that is the cause, where lies the solution?


Use while() instead of foreach().

Octavian



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


Reply via email to