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

Re^2: State of the art of PDFs in Perl

by fullermd (Priest)
on Oct 28, 2012 at 22:32 UTC ( #1001293=note: print w/replies, xml ) Need Help??


in reply to Re: State of the art of PDFs in Perl
in thread State of the art of PDFs in Perl

Funnily enough, about a year ago I replaced some code (not in perl) that shelled out to pdftk, with code that shelled out to a pair of perl scripts (one PDF::API2 and one Text::PDF::File). Partly because the perl solution was faster. And partly to cut down on the amount of Java crap I had to deal with on the server :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1001293]
help
Chatterbox?
[1nickt]: Good morning Monks and Monkettes!
[1nickt]: I have encountered a small code snippet I can not decipher: if ($?) { my $status = $? >> 8; ... }
[1nickt]: Hm, found the doc
[hippo]: >> is the bitwise shift, essentially divides the result by 256.
[haukex]: $? and system - the exit code of a process is stored in the upper bits of $?, so >> 8 does a bit shift to get at it
[hippo]: (truncating)
[erix]: aah, yes haukex++
[hippo]: Re: DBD::Sqlite queries slow - and gives wrong results has 6 upvotes. Is everyone quite well?
[erix]: hippo I think the 26 downvotes sick

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2017-12-13 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (358 votes). Check out past polls.

    Notices?