which basically opens up the file goes thru one line at a timeuse strict; $tmp="some file"; open (FILE,"$tmp"); while(<FILE>) { if (/file error/i) {print "error in file";} else {print"@_ no error";} }
In reply to Re: search match within flat text file
by wageslave
in thread search match within flat text file
by itsmrchris
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |