in reply to Re: I/O problems...what am I missing?
in thread I/O problems...what am I missing?
"$control = @score; should be $control = $#score + 1; to get the size of the array"
These statements are equivalent (since evaluating an array in a scalar context gives its length). Camel 3rd ed. p76 refers.
Some have argued that the former is preferable (e.g. see MJD's comments).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: I/O problems...what am I missing?
by psychoto (Novice) on Sep 17, 2002 at 16:46 UTC |