CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Perl Module to Extract a File from Inside a PDF

 



Pelatov
New User

Sep 4, 2013, 3:04 PM

Post #1 of 3 (362 views)
Perl Module to Extract a File from Inside a PDF Can't Post

Hi all,

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.


Laurent_R
Enthusiast / Moderator

Sep 5, 2013, 11:45 AM

Post #2 of 3 (351 views)
Re: [Pelatov] Perl Module to Extract a File from Inside a PDF [In reply to] Can't Post

There are several PDF modules, but I did not try any, so I can't guide you. Try to look at these: http://search.cpan.org/search?query=PDF&mode=all


Pelatov
New User

Sep 5, 2013, 11:53 AM

Post #3 of 3 (348 views)
Re: [Laurent_R] Perl Module to Extract a File from Inside a PDF [In reply to] Can't Post

Thanks I'll run with that.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives