Re: emptying an scalar variable

2001-08-17 Thread [EMAIL PROTECTED]
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? > > -- > *

Re: emptying an scalar variable

2001-08-17 Thread [EMAIL PROTECTED]
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? > > -- > *

RE: emptying an scalar variable

2001-08-17 Thread Bob Showalter
> -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

RE: emptying an scalar variable

2001-08-17 Thread Gibbs Tanton - tgibbs
$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