Thanks, I know that fetchrow_arrayref is sometimes faster but I'll only be retrieving 12 records from the database. Changing to fetchrow_arrayref also sends the program into an infinite loop.
Thanks for the info on \$pdf_report , now I feel as if I'm getting somewhere :)