in reply to Re: PDF::Table last page
in thread PDF::Table last page

Hi,

Thanks for the reply.

I found a simple solution that works for me and it's quite funny.

Instead of

main_table($pdf, $some_data); main_table2($pdf, $some_data);

I put

main_table($pdf, $some_data); main_table2($pdf, $data2);

Where the $data2 is an empty variable.

In theory, it shouldn't work, because the $data2 array is empty. But it does exactly what I need!

My culprit was probably because I repeated $some_data twice.

Thanks to everybody