~ubuntu-branches/ubuntu/wily/libxml-bare-perl/wily

« back to all changes in this revision

Viewing changes to bench/tree.tmpl

  • Committer: Package Import Robot
  • Author(s): Nuno Carvalho, gregor herrmann, Salvatore Bonaccorso, Axel Beckert, Nuno Carvalho
  • Date: 2013-09-17 15:54:28 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130917155428-4d0xb5cissw2323f
Tags: 0.53-1
* Team upload.

[ gregor herrmann ]
* debian/control: update {versioned,alternative} (build) dependencies.

[ Salvatore Bonaccorso ]
* Change Vcs-Git to canonical URI (git://anonscm.debian.org)
* Change search.cpan.org based URIs to metacpan.org based URIs

[ Axel Beckert ]
* debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg-
  copyright"

[ Nuno Carvalho ]
* New upstream release.
* debian/copyright: update copyright years.
* debian/control: update standards version.
* debian/control: update debhelper required version, in order to pass all
  the hardening flags to EUMM.
* Add lintian override to apparently false-positive warning.
* Add set of patches accepted upstream but still not included in this
  release, visit https://rt.cpan.org/Public/Bug/Display.html?id=88155
  for details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
#0
5
5
require XML::Bare;
6
 
my $ob = new XML::Bare( file => $file );
7
 
$root = $ob->parse();
 
6
my $ob = new XML::Bare( file => $file, unsafe => 1 );
 
7
$root = $ob->simple();
8
8
 
9
9
#- XML::Bare (simple)
10
10
require XML::Bare;
11
11
my $ob = new XML::Bare( file => $file );
12
12
my $root = $ob->simple();
13
13
 
 
14
#- XML::Fast
 
15
require XML::Fast;
 
16
$/ = undef;
 
17
open( FILE, $file );
 
18
my $text = <FILE>;
 
19
close( FILE );
 
20
my $hash = XML::Fast::xml2hash( $text );
 
21
 
14
22
#-
15
23
require XML::TreePP;
16
24
my $tpp = XML::TreePP->new();
100
108
require XML::TinyXML;
101
109
my $ob = XML::TinyXML->new();
102
110
$ob->loadFile( $file );
 
111
 
 
112
#-
 
113
require XML::LibXML::Simple;
 
114
my $ref = XML::LibXML::Simple::XMLin($file);