"but I was wrong" is a very poor description of the error you're getting.
One thing you'll get is
Can't declare array dereference in my
my @$row is bad syntax. my $row.
And to get the value of the second field for that row, $$row[2] or $row->[2]. Note the leading $, since a scalar is being returned.
In reply to Re: Doing something wrong
by ikegami
in thread Doing something wrong
by padawan_linuxero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |