[San-Diego-pm] Recurse through trees

Randal L. Schwartz merlyn at stonehenge.com
Fri Mar 17 15:33:08 PST 2006


>>>>> "Emile" == Emile Aben <emileaben at gmail.com> writes:

Emile> but datadumping $stash->get('html_node_visitor') finds this is an 'undef'?

Ahh, that's an invocation.  Try adding a backslash in front of
html_node_visitor as in:

[% tree.traverse(\html_node_visitor) %]

And when I say "try", I mean "I have no frigging idea if this works but
I saw it once in the docs and maybe it'll help here".

:-)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the San-Diego-pm mailing list