Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: How to invoke pdftotext and extract first line of text from PDF file?

by punch_card_don (Curate)
on Mar 28, 2010 at 23:18 UTC ( #831520=note: print w/replies, xml ) Need Help??


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.
  • Comment on Re: How to invoke pdftotext and extract first line of text from PDF file?
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://831520]
help
Chatterbox?
[1nickt]: Tux I'm getting there ... perlbrew list | wc -l 22 :-)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2017-09-21 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (241 votes). Check out past polls.

    Notices?