- or download this
my $studentInfo = $sth_queryID->fetchall_arrayref;
- or download this
for my $studentInfo_row (@{$studentInfo}) {
next unless $studentInfo_row->[0] % 2;
...
}
- or download this
foreach my $studentInfo_row ( grep { $_->[0] % 2 } @{$studentInfo}) {
...
}