in reply to Problem with loops
What do you expect this to do?
for ($input eq "end")for takes a list of values. $input eq "end" is an expression; for will loop over whatever that expression produces.
Improve your skills with Modern Perl: the free book.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem with loops
by Anonymous Monk on Nov 26, 2011 at 00:49 UTC | |
by mbethke (Hermit) on Nov 26, 2011 at 17:38 UTC |