in reply to Re^2: Style and Preference on Loops
in thread Style and Preference on Loops

for my $index (0 .. $#mysql) {
Of course, that should read:
for my $index ( 0..$#$mysql ) {