it would keep waiting for input until it got 'dick'while(<>){ if(/dick/){ print "you said dick!\n"; last; } else { print "you didn't say dick, hah, what a dick!\n"; } }
- Ant
- Some of my best work - Fish Dinner
In reply to Re: Re: Re: ending this loop
by suaveant
in thread ending this loop
by jrbush82
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |