in reply to Befuddled by The Llama
It should bewhile ($in[$count] !~ /q/i {
Second:while ($in[$count] !~ /q/i) {
should be:chomp($in[$count]";
Third:chomp($in[$count]);
should be:print "\n\n\n"done.\n\n\n";
And finally:print "\n\n\ndone.\n\n\n";
should be:count++;
Furthermore, you will loop endlessly on:$count++;
because nothing in @in has been set.while ($in[$count] !~ /q/i) {
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Befuddled by The Llama
by weierophinney (Pilgrim) on Jun 01, 2004 at 13:17 UTC |