in reply to how to extract data from a pdf file

It depends, what is the desired format of the oputput file? Is your PDF password protected/encrypted?...

For instance you could pick a page of your pdf in pdf format with the whole table with

use PDF::Extract; ... or you could want to have a raw text instead, or a piece of html code... see cpan