Query: xml::parser::style::subs
OS: opensolaris
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Parser::Style::Subs(3) User Contributed Perl Documentation Parser::Style::Subs(3)NAMEXML::Parser::Style::SubsSYNOPSISuse XML::Parser; my $p = XML::Parser->new(Style => 'Subs', Pkg => 'MySubs'); $p->parsefile('foo.xml'); { package MySubs; sub foo { # start of foo tag } sub foo_ { # end of foo tag } }DESCRIPTIONEach 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. perl v5.8.4 2003-08-18 Parser::Style::Subs(3)
Similar Topics in the Unix Linux Community |
---|
Trying to block signal |
solaris zones vs container.. |
Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD |
What's legal and what's not? |
%memused is high |