xml::parser::style::subs(3) mojave man page | unix.com

Man Page: xml::parser::style::subs

Operating Environment: mojave

Section: 3

Parser::Style::Subs(3)					User Contributed Perl Documentation				    Parser::Style::Subs(3)

NAME
XML::Parser::Style::Subs
SYNOPSIS
use 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 } }
DESCRIPTION
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. perl v5.18.2 2011-05-24 Parser::Style::Subs(3)
Related Man Pages
xml::parser::style::stream(3) - sunos
xml::parser::style::stream5.18(3) - mojave
xml::parser::style::stream(3) - suse
xml::parser::style::tree(3) - suse
xml::parser::style::tree(3) - osx
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
Cannot extract libraries using sed
My first PERL incarnation... Audio Oscillograph
Controlling user input
Python 3.8.0rc1 released.