$pdftable->table( $pdf, $page->mediabox(792,612), \@{$array_ref}, x => $left_edge_of_table, w => 495, # width of table start_y => 590, # top of page next_y => 590, # top of all other pages start_h => 500, # rows per page next_h => 500, # rows per page on all other pages # some optional params padding => 5, padding_right => 10, background_color_odd => "gray", background_color_even => "lightblue", #cell background color for even rows column_props => $col_props, #cell_props => $cell_props, #header_props => $hdr_props, new_page_func => sub { #my $url = qq{ http://www.somewhere.com}; #my $annot = $pdf->annotation(); #$annot->url($url,-rect =>[100,50,310,30],-border =>[1,1,1]); my $next_page = $pdf->page; $next_page->mediabox(792,612); #$next_page = $pdf->annotation(); #$next_page->url($url,-rect =>[100,50,310,30],-border =>[1,1,1]); return $next_page; }, # section HEADER ); $pdf->saveas();