http://qs321.pair.com?node_id=930389


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