Dear Barbara,

I don't quite understand what you're trying to do, but if you want to load 
a PDF, a package like XPDF might be useful. You can run it from Perl as a 
child process, extract the text from the PDF, read that into Perl and then 
use a regular expression to match any word or phrase you are looking for.

I can't remember off-hand the url for XPDF, but try a Google search and 
you'll probably find it. (I use the pdftotext.exe and gzip.exe binaries.)

(Sorry if I have misunderstood your requirements.)

Chris Humphries



Message: 4
From: "Clarke, Barbara P, HRSVC" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: How to read a PDF file using Perl
Date: Fri, 16 Feb 2001 15:23:56 -0500

Hi,
Does anyone know how I can read a PDF file and then search for a keyword?

Barbara Clarke

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to