proggybilly
Programmer
I have a perl program that loads the contents of a file into an array. Is there a quick way to look at the array and see if one of the elements contains "exiting now"? I could do a loop, but was hoping for something simpler. I know for the most part, what I am looking for exists in a particular element as of now, but who's to say that the next time I need it, it will be in element 6? It may be in element 10.