Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Why is this crashing??? Something seems to be very buggy here.foreach $i (@allc) { chomp($i); if($i eq "aa\@xx.com") { next; } else { if($who =~ $i) { print qq(one $i); } else { print qq($i); } } }
2003-06-10 edit ybiC: <code> and <tt> tags
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: foreach loop bug
by davorg (Chancellor) on Jun 10, 2003 at 10:29 UTC | |
|
Re: foreach loop bug
by diotalevi (Canon) on Jun 10, 2003 at 10:25 UTC | |
|
Re: foreach loop bug
by adrianh (Chancellor) on Jun 10, 2003 at 10:29 UTC | |
|
Re: foreach loop bug
by Anonymous Monk on Jun 10, 2003 at 10:50 UTC |