in reply to PDF::Table and HTML::Table

The documentation says table($pdf, $page_obj, $data, %opts) so give it
$arr[$k],# 2D arrayref of text strings # ^^^^^^^^ # ||||||||