in reply to ORDER BY COUNT(*)?
In the example code you provided above, you refer to individual array elements like this: @result[1]. If you had utilized -w you would have received this helpful error message:
Scalar value @result[1] better written as $result[1] at FOO line 17.You can read more about -w in perlrun.
--Dave
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: ORDER BY COUNT(*)?
by peppiv (Curate) on Mar 20, 2002 at 17:04 UTC | |
by redsquirrel (Hermit) on Mar 20, 2002 at 18:13 UTC | |
by 2mths (Beadle) on Mar 21, 2002 at 11:03 UTC | |
by peppiv (Curate) on Mar 20, 2002 at 19:52 UTC |