http://www.perlmonks.org?node_id=645994


in reply to return code for finding a keyword within a line

Please show a little of your code so far!

What do you mean by exit with an error code? die? exit? You may want to log it as opposed to ending the program so you can document all instances of the problem.

What are you using to detect the lines that you ARE finding right now? It shouldn't be too hard to modify it but you need to show what you've done thus far.

--
meraxes