in reply to for vs foreach?
Your mileage may vary, of course.sub foo { my $array = @_; foreach ($array) { do stuff; } # ... }
/s
Update: I guess the joke doesn't come across as well on screen.
s/readability/job security/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: for vs foreach?
by tadman (Prior) on May 07, 2002 at 06:13 UTC |