in reply to Re^2: Writing Multiple Recordsets into a CSV file
in thread Writing Multiple Recordsets into a CSV file

Are you certain that $_read_sth->fetchrow_array returns more than one record? A print STDOUT "@csv_record\n"; will show that.

If it doesn't, then there's probably a problem with your stored procedure.