[libxml-descent-perl] 02/05: Restructure control file with cme.
Bas Couwenberg
sebastic at xs4all.nl
Fri Jan 10 23:04:16 UTC 2014
This is an automated email from the git hooks/post-receive script.
sebastic-guest pushed a commit to branch master
in repository libxml-descent-perl.
commit f53e988b18fc3354fe106c4da444868be97de4f7
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Fri Jan 10 23:28:06 2014 +0100
Restructure control file with cme.
---
debian/control | 40 +++++++++-------------------------------
1 file changed, 9 insertions(+), 31 deletions(-)
diff --git a/debian/control b/debian/control
index 77f4abb..179a551 100644
--- a/debian/control
+++ b/debian/control
@@ -1,12 +1,12 @@
Source: libxml-descent-perl
-Section: perl
-Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Bas Couwenberg <sebastic at xs4all.nl>
+Section: perl
+Priority: optional
Build-Depends: debhelper (>= 9.20120312)
Build-Depends-Indep: libtest-differences-perl,
- libxml-tokeparser-perl,
- perl
+ libxml-tokeparser-perl,
+ perl
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libxml-descent-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libxml-descent-perl.git
@@ -14,36 +14,14 @@ Homepage: https://metacpan.org/release/XML-Descent
Package: libxml-descent-perl
Architecture: all
-Depends: ${misc:Depends}, ${perl:Depends},
- libtest-differences-perl,
- libxml-tokeparser-perl
-Description: Recursive descent XML parsing
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libtest-differences-perl,
+ libxml-tokeparser-perl
+Description: Perl module for recursive descent XML parsing
The conventional models for parsing XML are either DOM (a data structure
representing the entire document tree is created) or SAX (callbacks are
issued for each element in the XML).
.
XML grammar is recursive - so it's nice to be able to write recursive parsers
for it. XML::Descent allows such parsers to be created.
- .
- Typically a new XML::Descent is created and handlers are defined for elements
- we're interested in
- .
- my $p = XML::Descent->new( { Input => \$xml } );
- .
- $p->on(
- .
- link => sub {
- .
- my ( $elem, $attr ) = @_;
- .
- print "Found link: ", $attr->{url}, "\n";
- .
- $p->walk; # recurse
- .
- }
- .
- );
- .
- $p->walk; # parse
- .
- This description was automagically extracted from the module by dh-make-perl.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libxml-descent-perl.git
More information about the Pkg-perl-cvs-commits
mailing list