I am retreiving mySql database record in a subroutine.
I pass the subroutine an array reference " \@array" and the subroutine names the passed array "$arrayRef".
I retreieve the data and store it as
" $rowRef = $sth->fetchrow_arrayref".
and store the returned record reference in the passed array
" $arrayRef ->
"
When I look inside the $arrayRef (while debugging the subroutine) all is fine however, when i look for values
at the program that calls the subroutine, no values are found.
I'm new to perl and I think I'm not understanding a fundamental of data persistence after you finish the statement handle and disconnect the database.
Any help would be greatly appreciated.
Regards,
Marc