When doing this: $sth->execute() or die "Couldn't execute statement: $DBI::errstr; stopped"; while (my ($name, $age, $st, $tk, $ps, $sh ) = $sth->fetchrow_array() ) { print "$name, $age, $st, $tk, $ps, $sh \n"; } How do I refer to that array if I want to send it into a sub? Or do I need to assign it to an array of my own..... Dave