Re: How to empty the buffer

2004-10-24 Thread Bee
If you are using 'strict', you must applies '$msg2 = $var' as 'my $msg2 = $var', You are highly recomment to use strict, because you won't need to take care of this question at all, $msg2 will destroy after the sub/loop, the entire scope ends anyway. For your question : undef $msg2 ; or $msg2 =

Re: How to empty the buffer

2004-10-24 Thread Flemming Greve Skovengaard
[EMAIL PROTECTED] wrote: Hi I have written a program to add the strings. Now after every execution how to flush out the out. how $i = 0; while(LOGFILE) { $i++; if ($i 10)

RE: How to empty the buffer

2004-10-24 Thread Sreedhar . Kalkunte-Venkatachala
thanks. problem resolved -Original Message- From: Flemming Greve Skovengaard [mailto:[EMAIL PROTECTED] Sent: 24 October 2004 12:13 To: [EMAIL PROTECTED] Cc: Kalkunte-Venkatachala, Sreedhar Subject: Re: How to empty the buffer [EMAIL PROTECTED] wrote: Hi I have written a program

RE: How to empty the buffer

2004-10-24 Thread Charles K. Clarkson
From: [EMAIL PROTECTED] wrote: : Hi : : I have written a program to add the strings. Now after every : execution how to flush out the out. how : $i = 0; : while(LOGFILE) : { : $i++; : if ($i 10) :