in reply to Simple mysql select not working

use Data::Dumper; print STDERR Data::Dumper->Dump( [ $pop, \@return, $count ], [ "pop", "return", "count" ] );
Use liberally.