undef $line;
$line = "";
$line = '';
> Hi all, can anyone tell me how to empty an scalar variable once a
> condition is met? I am doing something like this:
>
> $line .= $_
>
> if ($_ =~ /something/) {
>
> print $line;
>
> empy $line;
> }
>
> Any help welcome?
>
> --
>
*
undef $line;
$line = "";
$line = '';
> Hi all, can anyone tell me how to empty an scalar variable once a
> condition is met? I am doing something like this:
>
> $line .= $_
>
> if ($_ =~ /something/) {
>
> print $line;
>
> empy $line;
> }
>
> Any help welcome?
>
> --
>
*
> -Original Message-
> From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 17, 2001 4:33 PM
> To: [EMAIL PROTECTED]
> Subject: emptying an scalar variable
>
>
> Hi all, can anyone tell me how to empty an scalar variable once a
> condition is met? I am doing som
$line = '';
-Original Message-
From: Pedro A Reche Gallardo [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 17, 2001 3:33 PM
To: [EMAIL PROTECTED]
Subject: emptying an scalar variable
Hi all, can anyone tell me how to empty an scalar variable once a
condition is met? I am doing somethin