in reply to searching a text file
s/bif($b[$x]=="***Begin $subject"){ while ($b[$x]!="***Begin Here***\n"){
When you are comparing strings, eq and ne are the operators. Numeric operators are == and !=.if($b[$x] eq "***Begin $subject"){ while ($b[$x] ne "***Begin Here***\n"){
Good luck.if($b[$x] =~ /\*\*\*Begin $subject/){
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: searching a text file
by JJ004 (Initiate) on Oct 23, 2001 at 08:27 UTC |