I have used join in order to make one big line of a document for searches such as the 
one you suggest.  Also, in another script I did this:

<snip>
  open(FILE,"$_");
  my $txt = "";
  $searchfile = $_;
  while (<FILE>) {$txt .= $_;}
  close(FILE);

## Search $txt for $string; if it is found, write the name of the file
## to the result file for instances found; if it is not found, write the
## name of the file to the result file for instances not found.
  if ($txt =~ /($string)/ims) {
  <do whatever here>
}
<end snip>

Where I have ($string) you would put your search string/regexp.

I am also new to all this, so there is probably a better way, but...
--

Namaste,

Kristin

Kristin Anne Igaki              [EMAIL PROTECTED]
Internal Engineering            1010 Turquoise, Ste. 201
BlueMountain.com                San Diego, CA  92109
A division of Excite@Home       phone:  858.539.7370 x463
www.bluemountain.com            fax:    858.539.7383

Reply via email to