in reply to syntax issues
as for question two:$count = $#list1
This pushes a reference to a copy of @row onto the array. You don't need to first declare variables of elements in the array, since you appeared to be pushing them on in the same order as they were in @row.while (my @row = $sth5->fetchrow_array()) { push @list_of_teamdata, [ @row[0..2] ]; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: (ar0n) Re: syntax issues
by Anonymous Monk on Mar 29, 2001 at 02:15 UTC |