my $some_data =[ ["col1", "col2", "col3"], ["q","w","e"] ]; # build the table layout $pdftable->table( # required params $pdf, $page, $some_data, -x => 50, -start_y => 450, -next_y => 100, -start_h => 100, -next_h => 100, -w => 350, -padding => 5, -padding_right => 10, -font=> $pdf->corefont("Helvetica Bold", -encoding => "utf8",), -font_size => 8, );