Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Example Of Using CAM::PDF Like HTML::TokeParser

by pvaldes (Chaplain)
on Oct 08, 2011 at 21:37 UTC ( #930389=note: print w/ replies, xml ) Need Help??


in reply to Example Of Using CAM::PDF Like HTML::TokeParser

ok then,

$po->traverse(1, $a_node_name, $function, $somedata);

the first field after traverse is 1 (traverse this node) or 0 (don't do this, threat this link as "dead")

The second field is the node name to apply

The third is an action to do when you pass through this node, you can use here as argument several functions provided with the module.

 (i.e \&_changeRefKeysCB, \&_abbrevInlineImageCB, \&_changeStringCB or \&_getRefListCB)

and fourth field is the data implied in this action (i.e $im_a_list)

Hope this helps, bye


Comment on Re: Example Of Using CAM::PDF Like HTML::TokeParser
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (17)
As of 2014-10-23 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (128 votes), past polls