"$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).
In reply to Re: Re: I/O problems...what am I missing?
by slife
in thread I/O problems...what am I missing?
by psychoto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |