It is more robust regarding newlines, other characters or other text.. . while (<NOTES>){ print "Found 'test'\n" if (/test/); }
Hope this helps,
Jeroen
I was dreaming of guitarnotes that would irritate an executive kind of guy (FZ)
In reply to Re: File Access
by jeroenes
in thread File Access
by dmckee
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |