I am trying to convert a pdf (and for that matter a
postscript) type file to plain text. Response to my earlier
mail suggested using File:Slurp, specifically;
#!/usr/bin/perl
use File::Slurp;
use CGI qw/:standard/;
$pdf_guts = read_file(/path/to/my.pdf);
Yes $pdf_guts is the
I don't know of any Perl solution off the top of my head (check out CPAN), I
instead use xPDF which includes a command line utility pdftotext.
http://www.foolabs.com/xpdf/about.html
Rob
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, March 03, 2003
I don't know of any Perl solution off the top of my head
(check out CPAN), I instead use xPDF which includes a command
line utility pdftotext.
http://www.foolabs.com/xpdf/about.html
Exactly what you need!!
Now all you have to do is figure out what command line command you'd
use to do
Yes, and thanks to all. xpdf did it. I comes standard with Redhat 8.0, so
I did not have do download antthing.
Thanks a lot.
__
William Ampeh (x3939)
Federal Reserve Board
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]