Sep 4, 2013, 3:04 PM
Post #1 of 3
Perl Module to Extract a File from Inside a PDF
I'm pretty new to Perl, but have been programming/scripting for several years now in other languages.
I was wondering if there was a module/way to take an embedded attachment within a pdf, extract the attachment from the pdf, and then parse the attachment for specific information and dump that information into a text file.
I don't even really need to fully extract the attachment, I just need to be able to parse the information out of it.
To maybe help clarify exactly what I'm looking at, I'm looking at downloading a pdf onto my linux server. Within the pdf is an attachment EDITranscript.edi. This *.edi file is merely a text file that I need to parse for specific information, and then use some of that information to create the file name for the parsed file.
Any help that ya'll can give me in pointing me to the correct module to do this/coding tips would be greatly appreciated.