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()
: {
: $i++;
: if ($i > 10)
:
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
[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()
{
$i++;
if ($i > 10)
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 =