I am trying to find the most efficient way of searching through an array for the value 0 and if it finds a zero it should break out of the search and print a Fail to the test I am running.
I found out the hard way that it is not possible to do a pattern match with an array as below because it does not iterate through the elements; ... doooh !!!
if (@results_file =~ m/0/)