Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'd suggest putting in a print statement to show the values as you process them. For example, just after extracting your small string, you could print the line number, the bit you extracted and the complete line:
Then make a small test file, and run your code against the small test file to see if you get what you're looking for. That ought to help you find the problem in short order. ...roboticus When your only tool is a hammer, all problems look like your thumb. In reply to Re: Reading through a file and checking for a specific string
by roboticus
|
|