in reply to ending this loop

I'm not sure if this answers your question, but I think this is what you want...

for (@ARGV) { if(/dick/){ print "you said dick!\n"; } else { print "you didn't say dick, hah, what a dick!\n"; } }

OR

/dick/ ? print "you said dick!\n" : print "you didn't say dick, hah, +what a dick!\n" for (@ARGV);

__________________________________________________
<moviequote name="Hackers">
The Plague: [...]Well let me explain the New World Order. Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo!
</moviequote>

mexnix.perlmonk.org