Using XML::Parser with XML::Parser(Style=>'Subs', Pkg=>'SubHandlers')
flamencoman_at_earthlink.net
Date: 03/31/04
- Previous message: GIMME: "Re: sending mail from a perl program on xp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Mar 2004 05:26:32 GMT
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,
Flamencoman@earthlink.net
- Previous message: GIMME: "Re: sending mail from a perl program on xp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|