in reply to Re^2: Break perl foreach loop
in thread Break perl foreach loop

Got it! Marshall gets the major thumbs up. I took out the "or next" line and it worked! It was going to next before any end of loop could be established.

removed this:

length( $x = $struct->{$key} ) or next;

Thank you all!

Peppi