Re: regex matching in a nested loop

2004-10-29 Thread Zeus Odin
Jason, You state your question, and practically give the answer in the solution. :-) You have a for loop inside a while loop. Both loops set $_. You state that you can not properly do your match within the for loop because you need the $_ value set by the while loop. Well ... why don't you just "

regex matching in a nested loop

2004-10-29 Thread Jason Wozniak
I wrote the following as a quick script to find all files on the system that contain any hard coded passwords for our database. For testing purposes I used a file called testing123 in my find string, so as not to search the entire directory tree for each test. The problem I'm having lies in the w