laziness, impatience, and hubris | |
PerlMonks |
Re: Example Of Using CAM::PDF Like HTML::TokeParserby pvaldes (Chaplain) |
on Oct 08, 2011 at 21:37 UTC ( [id://930389]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|