Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Parsing PDF file

by pankaj_it09 (Scribe)
on Nov 16, 2009 at 13:37 UTC ( [id://807455]=note: print w/replies, xml ) Need Help??


in reply to Parsing PDF file

Is it required to destroy the PDF object ?

Which one of the below routines to use to destroy the PDF object :-

$doc->getValue($object)
For INTERNAL use Dereference a data object, return a value. Given an node object of any kind, returns raw scalar object: hashref, arrayref, string, number. This function follows all references, and descends into all objects.

$doc->getObjValue($objectnum)
For INTERNAL use Dereference a data object, and return a value. Behaves just like the getValue() function, but used when all you know is the object number.

$doc->dereference($objectnum)

$doc->dereference($name, $pagenum)
For INTERNAL use Dereference a data object, return a PDF object as a node. This function makes heavy use of the internal object cache. Most (if not all) object requests should go through this function. $name should look something like '/R12'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://807455]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2024-04-23 11:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found