469,960 Members | 2,454 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,960 developers. It's quick & easy.

Using XML::Parser with XML::Parser(Style=>'Subs', Pkg=>'SubHandlers')

Hi,

Has any one used the XML::Parser module with the Subs style?

The Perl documentation states:

"Each time an element starts, a sub by that name in the package
specified by the Pkg option is called with the same parameters that
the Start handler gets called with.

Each time an element ends, a sub with that name appended with an
underscore (``_''), is called with the same parameters that the End
handler gets called with.

Nothing special is returned by parse."

The problem is I don't know what the syntax is for the subroutines
that are supposed to go in the package. I couldn't find any examples
that show how to use this in the Perl FAQ or via a search on the net.

Thanks,

Fl*********@earthlink.net


Jul 19 '05 #1
0 1713

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by indyjason79 | last post: by
reply views Thread by anthony.raj | last post: by
20 posts views Thread by cscorley | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.