Re: redundant extraction. Thanks for Helping

2000-05-07 Thread Jimmy S. Lim
dennis, thanks for the help ! i can't remember if i thanked you before. - Original Message - From: Dennis Yelle To: Jimmy S. Lim Sent: Wednesday, April 26, 2000 11:54 PM Subject: Re: redundant extraction. You write:open(ABC, "TEST.html") or

Re: redundant extraction.

2000-04-26 Thread Cassell . David
You wrote: > open(ABC, "TEST.html") or die "Can't open TEST: $!\n"; > while ($line = ) > { > if ($line =~ /hello\s\d\d\d/ ) > {$hello=$&} > if ($line =~ /E\d\d\d-\d\d\d\d/ or $line =~ /E\d\d\d\d\d\d\d/) > {$pager=$&} > print "$number : $hello\n"; > }; First, this won't

Re: redundant extraction.

2000-04-26 Thread Jimmy S. Lim
hi! will be very grateful if anyone can spare some time to help a newbie. i wrote: open(ABC, "TEST.html") or die "Can't open TEST: $!\n";while ($line = ){    if ($line =~ /hello\s\d\d\d/ ){$hello=$&}    if ($line =~ /E\d\d\d-\d\d\d\d/ or $line =~ /E\d\d\