Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (16)
As of 2016-10-28 17:27 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (386 votes). Check out past polls.