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?

--
***************************************************************************

PEDRO a. RECHE gallardo, pHD            TL: 617 632 3824
Scientist, Mol.Immnunol.Foundation,     FX: 617 632 3351
Dana-Farber Cancer Institute,           EM:
[EMAIL PROTECTED]
Harvard Medical School,                 EM: [EMAIL PROTECTED]
44 Binney Street, D610C,                URL: http://www.reche.org
Boston, MA 02115
***************************************************************************


Reply via email to