Perl program to convert PDF to text/CSV

Please suggest ways to easily convert pdf to text in perl only on windows (no other tools can be downloaded)

Here is what I have been doing :

using a module CAM::PDF to extract data. But it shows everything in messy format :wall:

But this module is the only one working with the pdf files I am using :b:.

Now I found another way to get text and its location using below link.
search - How do I get character offset information from a pdf document? - Stack Overflow
by Chris author of the module.

example below:

text 'E' at (52.08,704.16)
text 'm' at (73.62096,704.16)
text 'p' at (113.58936,704.16)
text 'lo' at (140.49648,704.16)
text 'y' at (181.19904,704.16)
text 'e' at (204.43584,704.16)
text 'e' at (230.93808,704.16)
text ' N' at (257.44032,704.16)
text 'a' at (294.6504,704.16)
text 'm' at (320.772,704.16)
text 'e' at (360.7416,704.16)
text 'Employee Name' at (56.4,124.56)
text 'Employee Title' at (56.4,114.24)
text 'Company Name' at (56.4,103.92)

My solution is get x and y put in array/hash and then dump the page which will look almost the same as pdf.

please suggest if there is another way and also a way dump to screen easily using x and y with perl.

Thanks in advance.

---------- Post updated at 06:52 AM ---------- Previous update was at 05:08 AM ----------

Let me put question differently:

Could any one suggest me a way in perl to have text displayed when X and Y are specified in format (56.4,103.92) and ( 73.72096, 704.16)