in reply to Breaking a loop after a valid match + proper use of /t delimiter.

dvergin says much that is wise. I have a few other points to make:

Have fun

--
g r i n d e r
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u';