http://qs321.pair.com?node_id=831520


in reply to How to invoke pdftotext and extract first line of text from PDF file?

OK - figured it out - here's what worked for me:

open (FILE, "pdftotext -layout foo.pdf - |"); $title = <FILE>; print "<p>$title\n"; close FILE;



Time flies like an arrow. Fruit flies like a banana.