Hello community,
here is the log from the commit of package perl-XML-LibXML-Simple for
openSUSE:Factory checked in at 2013-06-06 12:58:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXML-Simple (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-LibXML-Simple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-LibXML-Simple"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-XML-LibXML-Simple/perl-XML-LibXML-Simple.changes
2012-05-29 11:46:01.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-XML-LibXML-Simple.new/perl-XML-LibXML-Simple.changes
2013-06-06 12:58:16.000000000 +0200
@@ -1,0 +2,8 @@
+Tue Jun 4 17:01:50 UTC 2013 - [email protected]
+
+- updated to 0.93
+ - move pod-test to xt/
+ - fix warning produced by Pod::Checker
+ - include license in the manuals.
+
+-------------------------------------------------------------------
Old:
----
XML-LibXML-Simple-0.91.tar.gz
New:
----
XML-LibXML-Simple-0.93.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-LibXML-Simple.spec ++++++
--- /var/tmp/diff_new_pack.Ng9RBR/_old 2013-06-06 12:58:16.000000000 +0200
+++ /var/tmp/diff_new_pack.Ng9RBR/_new 2013-06-06 12:58:16.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-LibXML-Simple
#
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,24 @@
#
-
Name: perl-XML-LibXML-Simple
-Version: 0.91
+Version: 0.93
Release: 0
-Summary: XML::LibXML based XML::Simple clone
-Source:
http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/XML-LibXML-Simple-%{version}.tar.gz
-Url: http://search.cpan.org/dist/XML-LibXML-Simple
-Group: Development/Libraries/Perl
+%define cpan_name XML-LibXML-Simple
+Summary: XML::LibXML clone of XML::Simple::XMLin()
License: Artistic-1.0 or GPL-1.0+
+Group: Development/Libraries/Perl
+Url: http://search.cpan.org/dist/XML-LibXML-Simple/
+Source:
http://www.cpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
+BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
+BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: make
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(Test::More) >= 0.54
-BuildRequires: perl(XML::LibXML) >= 1.64
-BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(File::Slurp)
-Requires: perl(XML::LibXML) >= 1.64
+BuildRequires: perl(XML::LibXML) >= 1.64
Requires: perl(File::Slurp)
-%if 0%{?suse_version} >= 1120
-BuildArch: noarch
-%endif
+Requires: perl(XML::LibXML) >= 1.64
+%{perl_requires}
%description
This module is a blunt rewrite of XML::Simple (by Grant McLean) to use the
@@ -46,30 +41,22 @@
or SAX parsers.
%prep
-%setup -q -n "XML-LibXML-Simple-%{version}"
-%__sed -i '/^auto_install/d' Makefile.PL
+%setup -q -n %{cpan_name}-%{version}
%build
-%__perl Makefile.PL PREFIX="%{_prefix}"
-%__make %{?_smp_flags}
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__make} %{?_smp_mflags}
+
+%check
+%{__make} test
%install
%perl_make_install
%perl_process_packlist
+%perl_gen_filelist
-%check
-%__make test
-
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files
-%defattr(-,root,root)
-%doc README
-%dir %{perl_vendorlib}/XML
-%dir %{perl_vendorlib}/XML/LibXML
-%{perl_vendorlib}/XML/LibXML/Simple.pm
-%doc %{perl_vendorlib}/XML/LibXML/Simple.pod
-%doc %{perl_man3dir}/XML::LibXML::Simple.%{perl_man3ext}%{ext_man}
+%files -f %{name}.files
+%defattr(-,root,root,755)
+%doc ChangeLog README
%changelog
++++++ XML-LibXML-Simple-0.91.tar.gz -> XML-LibXML-Simple-0.93.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/ChangeLog
new/XML-LibXML-Simple-0.93/ChangeLog
--- old/XML-LibXML-Simple-0.91/ChangeLog 2011-07-11 22:40:06.000000000
+0200
+++ new/XML-LibXML-Simple-0.93/ChangeLog 2013-03-02 11:59:01.000000000
+0100
@@ -1,6 +1,15 @@
=== version history for XML::LibXML::Simple
+version 0.93: Sat Mar 2 11:58:52 CET 2013
+ - move pod-test to xt/
+ - fix warning produced by Pod::Checker
+
+version 0.92: Fri Dec 21 12:22:16 CET 2012
+
+ Fixes:
+ - include license in the manuals.
+
version 0.91: Mon Jul 11 22:40:02 CEST 2011
Fixes:
- forcearray option with one element
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/MANIFEST
new/XML-LibXML-Simple-0.93/MANIFEST
--- old/XML-LibXML-Simple-0.91/MANIFEST 2011-07-11 22:40:08.000000000 +0200
+++ new/XML-LibXML-Simple-0.93/MANIFEST 2013-03-02 11:59:03.000000000 +0100
@@ -7,8 +7,9 @@
t/01use.t
t/10XMLin.t
t/10XMLin.xml
-t/99pod.t
t/srt.xml
t/subdir/test2.xml
t/test1.xml
-META.yml Module meta-data (added by MakeMaker)
+xt/99pod.t
+META.yml Module YAML meta-data (added by
MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/META.json
new/XML-LibXML-Simple-0.93/META.json
--- old/XML-LibXML-Simple-0.91/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/XML-LibXML-Simple-0.93/META.json 2013-03-02 11:59:03.000000000
+0100
@@ -0,0 +1,43 @@
+{
+ "abstract" : "XML::LibXML based XML::Simple clone",
+ "author" : [
+ "Mark Overmeer"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter
version 2.120630",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : "2"
+ },
+ "name" : "XML-LibXML-Simple",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "File::Slurp" : "0",
+ "Test::More" : "0.54",
+ "XML::LibXML" : "1.64"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "0.93"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/META.yml
new/XML-LibXML-Simple-0.93/META.yml
--- old/XML-LibXML-Simple-0.91/META.yml 2011-07-11 22:40:08.000000000 +0200
+++ new/XML-LibXML-Simple-0.93/META.yml 2013-03-02 11:59:02.000000000 +0100
@@ -1,25 +1,24 @@
---- #YAML:1.0
-name: XML-LibXML-Simple
-version: 0.91
-abstract: XML::LibXML based XML::Simple clone
+---
+abstract: 'XML::LibXML based XML::Simple clone'
author:
- - Mark Overmeer
-license: perl
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
+ - 'Mark Overmeer'
build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- File::Slurp: 0
- Test::More: 0.54
- Test::Pod: 1.00
- XML::LibXML: 1.64
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.56
+ ExtUtils::MakeMaker: 0
+configure_requires:
+ ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.6302, CPAN::Meta::Converter
version 2.120630'
+license: perl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: XML-LibXML-Simple
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ File::Slurp: 0
+ Test::More: 0.54
+ XML::LibXML: 1.64
+version: 0.93
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/Makefile.PL
new/XML-LibXML-Simple-0.93/Makefile.PL
--- old/XML-LibXML-Simple-0.91/Makefile.PL 2011-07-11 22:40:06.000000000
+0200
+++ new/XML-LibXML-Simple-0.93/Makefile.PL 2013-02-19 09:04:18.000000000
+0100
@@ -4,11 +4,10 @@
WriteMakefile
( NAME => 'XML::LibXML::Simple'
- , VERSION => '0.91'
+ , VERSION => '0.93'
, PREREQ_PM =>
{ XML::LibXML => 1.64
, Test::More => 0.54
- , Test::Pod => '1.00'
, File::Slurp => 0
}
, AUTHOR => 'Mark Overmeer'
@@ -22,6 +21,7 @@
RAWDIR = ../public_html/xml-libxml-simple/raw
DISTDIR = ../public_html/xml-libxml-simple/source
LICENSE = artistic
+SKIP_LINKS = XML::LibXML
# for POD
FIRST_YEAR = 2008
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/README
new/XML-LibXML-Simple-0.93/README
--- old/XML-LibXML-Simple-0.91/README 2011-07-11 22:40:07.000000000 +0200
+++ new/XML-LibXML-Simple-0.93/README 2013-02-19 09:04:18.000000000 +0100
@@ -1,5 +1,5 @@
-=== README for XML-LibXML-Simple version 0.91
-= Generated on Mon Jul 11 22:40:07 2011 by OODoc 2.00
+=== README for XML-LibXML-Simple version 0.93
+= Generated on Tue Feb 19 09:04:18 2013 by OODoc 2.01
There are various ways to install this module:
@@ -9,16 +9,16 @@
(2) if you use Windows, have a look at http://ppm.activestate.com/
(3) if you have downloaded this module manually (as root/administrator)
- gzip -d XML-LibXML-Simple-0.91.tar.gz
- tar -xf XML-LibXML-Simple-0.91.tar
- cd XML-LibXML-Simple-0.91
+ gzip -d XML-LibXML-Simple-0.93.tar.gz
+ tar -xf XML-LibXML-Simple-0.93.tar
+ cd XML-LibXML-Simple-0.93
perl Makefile.PL
make # optional
make test # optional
make install
For usage, see the included manual-pages or
- http://search.cpan.org/dist/XML-LibXML-Simple-0.91/
+ http://search.cpan.org/dist/XML-LibXML-Simple-0.93/
Please report problems to
http://rt.cpan.org/Dist/Display.html?Queue=XML-LibXML-Simple
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/lib/XML/LibXML/Simple.pm
new/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pm
--- old/XML-LibXML-Simple-0.91/lib/XML/LibXML/Simple.pm 2011-07-11
22:40:07.000000000 +0200
+++ new/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pm 2013-03-02
11:59:01.000000000 +0100
@@ -1,12 +1,13 @@
-# Copyrights 2008-2011 by Mark Overmeer.
+# Copyrights 2008-2013 by [Mark Overmeer].
# For other contributors see ChangeLog.
# See the manual pages for details on the licensing terms.
-# Pod stripped from pm file by OODoc 2.00.
+# Pod stripped from pm file by OODoc 2.01.
package XML::LibXML::Simple;
use vars '$VERSION';
-$VERSION = '0.91';
+$VERSION = '0.93';
use base 'Exporter';
+
use strict;
use warnings;
@@ -80,7 +81,7 @@
my $xml
= UNIVERSAL::isa($source,'XML::LibXML::Document') ? $source
- : UNIVERSAL::isa($source,'XML::LibXML::Element') ? $source
+ : UNIVERSAL::isa($source,'XML::LibXML::Element' ) ? $source
: ref $source eq 'SCALAR' ? $parser->parse_string($$source)
: ref $source ? $parser->parse_fh($source)
: $source =~ m{^\s*\<.*?\>\s*$}s ? $parser->parse_string($source)
@@ -192,13 +193,13 @@
# Special cleanup for {valueattr} which could be arrayref or hashref
my $va = delete $opt{valueattr} || {};
- $va = { map { ($_ => 1) } @$va } if ref $va eq 'ARRAY';
+ $va = +{ map +($_ => 1), @$va } if ref $va eq 'ARRAY';
$opt{valueattrlist} = $va;
# make sure there's nothing weird in {grouptags}
!$opt{grouptags} || ref $opt{grouptags} eq 'HASH'
- or croak "Illegal value for 'GroupTags' option -expected a hashref";
+ or croak "Illegal value for 'GroupTags' option -expected a hashref";
$opt{parseropts} ||= {};
@@ -237,7 +238,7 @@
&& $k ne $opts->{contentkey}
&& $opts->{forcearray_always}) { push @{$d->{$k}}, $v }
elsif($opts->{forcearray_elem}{$k}
- || grep {$k =~ $_} @{$opts->{forcearray_regex}}
+ || grep $k =~ $_, @{$opts->{forcearray_regex}}
) { push @{$d->{$k}}, $v }
else { $d->{$k} = $v }
$d->{$k};
@@ -304,14 +305,14 @@
# Roll up 'value' attributes (but only if no nested elements)
if(keys %data==1)
- { my $k = (keys %data)[0];
+ { my ($k) = keys %data;
return $data{$k} if $opts->{valueattrlist}{$k};
}
# Turn arrayrefs into hashrefs if key fields present
if($opts->{keyattr})
- { while(my ($key,$val) = each %data)
+ { while(my ($key, $val) = each %data)
{ $data{$key} = $self->array_to_hash($key, $val, $opts)
if ref $val eq 'ARRAY';
}
@@ -457,7 +458,7 @@
return \%out;
}
- $out{$_} = $out{$_}{$contentkey} for keys %out;
+ $out{$_} = $out{$_}{$contentkey} for keys %out;
\%out;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/lib/XML/LibXML/Simple.pod
new/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pod
--- old/XML-LibXML-Simple-0.91/lib/XML/LibXML/Simple.pod 2011-07-11
22:40:07.000000000 +0200
+++ new/XML-LibXML-Simple-0.93/lib/XML/LibXML/Simple.pod 2013-03-02
11:59:01.000000000 +0100
@@ -15,7 +15,7 @@
Or the Object Oriented way:
use XML::LibXML::Simple ();
- my $xs = XML::Simple->new(OPTIONS);
+ my $xs = XML::LibXML::Simple->new(OPTIONS);
my $ref = $xs->XMLin(<xml file or string>, OPTIONS);
=head1 DESCRIPTION
@@ -55,7 +55,7 @@
=head1 FUNCTIONS
The functions C<XMLin> (exported implictly) and C<xml_in>
-(exported on request) simply call C<< XML::Simple->new->XMLin() >>
+(exported on request) simply call C<<XML::LibXML::Simple->new->XMLin() >>
with the provided parameters.
=head1 DETAILS
@@ -166,15 +166,15 @@
When text content is parsed to a hash value, this option let's you specify a
name for the hash key to override the default 'content'. So for example:
- XMLin('<opt one="1">Text</opt>', ContentKey => 'text')
+ XMLin('<opt one="1">Two</opt>', ContentKey => 'text')
will parse to:
- { 'one' => 1, 'text' => 'Text' }
+ { one => 1, text => 'Two' }
instead of:
- { 'one' => 1, 'content' => 'Text' }
+ { one => 1, content => 'Two' }
You can also prefix your selected key name with a '-' character to have
C<XMLin()> try a little harder to eliminate unnecessary 'content' keys after
@@ -190,18 +190,18 @@
will parse to:
{
- 'item' => {
- 'one' => 'First'
- 'two' => 'Second'
+ item => {
+ one => 'First'
+ two => 'Second'
}
}
rather than this (without the '-'):
{
- 'item' => {
- 'one' => { 'content' => 'First' }
- 'two' => { 'content' => 'Second' }
+ item => {
+ one => { content => 'First' }
+ two => { content => 'Second' }
}
}
@@ -217,17 +217,11 @@
would parse to this:
- {
- 'name' => [
- 'value'
- ]
- }
+ { name => [ 'value' ] }
instead of this (the default):
- {
- 'name' => 'value'
- }
+ { name => 'value' }
This option is especially useful if the data structure is likely to be written
back out as XML and the default behaviour of rolling single nested elements up
@@ -265,15 +259,15 @@
will parse to:
{
- 'x' => { 'content' => 'text1' },
- 'y' => { 'a' => 2, 'content' => 'text2' }
+ x => { content => 'text1' },
+ y => { a => 2, content => 'text2' }
}
instead of:
{
- 'x' => 'text1',
- 'y' => { 'a' => 2, 'content' => 'text2' }
+ x => 'text1',
+ y => { 'a' => 2, 'content' => 'text2' }
}
=item GroupTags => { grouping tag => grouped tag } I<# handy>
@@ -293,8 +287,8 @@
{
searchpath => {
- dir => [ '/usr/bin', '/usr/local/bin', '/usr/X11/bin' ]
- }
+ dir => [ '/usr/bin', '/usr/local/bin', '/usr/X11/bin' ]
+ }
}
But when read in with the appropriate value for 'GroupTags':
@@ -343,30 +337,24 @@
would, by default, parse to this:
{
- 'user' => [
- {
- 'login' => 'grep',
- 'fullname' => 'Gary R Epstein'
- },
- {
- 'login' => 'stty',
- 'fullname' => 'Simon T Tyson'
- }
- ]
+ user => [
+ { login => 'grep',
+ fullname => 'Gary R Epstein'
+ },
+ { login => 'stty',
+ fullname => 'Simon T Tyson'
+ }
+ ]
}
If the option 'KeyAttr => "login"' were used to specify that the 'login'
attribute is a key, the same XML would parse to:
{
- 'user' => {
- 'stty' => {
- 'fullname' => 'Simon T Tyson'
- },
- 'grep' => {
- 'fullname' => 'Gary R Epstein'
- }
- }
+ user => {
+ stty => { fullname => 'Simon T Tyson' },
+ grep => { fullname => 'Gary R Epstein' }
+ }
}
The key attribute names should be supplied in an arrayref if there is more
@@ -403,16 +391,16 @@
to parse to this data structure:
{
- 'user' => {
- 'stty' => {
- 'fullname' => 'Simon T Tyson',
- 'login' => 'stty'
- },
- 'grep' => {
- 'fullname' => 'Gary R Epstein',
- 'login' => 'grep'
- }
- }
+ user => {
+ stty => {
+ fullname => 'Simon T Tyson',
+ login => 'stty'
+ },
+ grep => {
+ fullname => 'Gary R Epstein',
+ login => 'grep'
+ }
+ }
}
The '+' indicates that the value of the key attribute should be copied
@@ -421,16 +409,16 @@
A '-' prefix would produce this result:
{
- 'user' => {
- 'stty' => {
- 'fullname' => 'Simon T Tyson',
- '-login' => 'stty'
- },
- 'grep' => {
- 'fullname' => 'Gary R Epstein',
- '-login' => 'grep'
- }
- }
+ user => {
+ stty => {
+ fullname => 'Simon T Tyson',
+ -login => 'stty'
+ },
+ grep => {
+ fullname => 'Gary R Epstein',
+ -login => 'grep'
+ }
+ }
}
=item NoAttr => 1 I<# handy>
@@ -444,19 +432,19 @@
=over 4
-=item 0
+=item "0"
(default) whitespace is passed through unaltered (except of course for the
normalisation of whitespace in attribute values which is mandated by the XML
recommendation)
-=item 1
+=item "1"
whitespace is normalised in any value used as a hash key (normalising means
removing leading and trailing whitespace and collapsing sequences of whitespace
characters to a single space)
-=item 2
+=item "2"
whitespace is normalised in all text content
@@ -575,8 +563,8 @@
it returns the following data structure:
{
- 'username' => 'testuser',
- 'password' => 'frodo'
+ username => 'testuser',
+ password => 'frodo'
}
The identical result could have been produced with this alternative XML:
@@ -603,21 +591,16 @@
</opt>
{
- 'person' => [
- {
- 'email' => [
- '[email protected]',
- '[email protected]'
- ],
- 'firstname' => 'Joe',
- 'lastname' => 'Smith'
- },
- {
- 'email' => '[email protected]',
- 'firstname' => 'Bob',
- 'lastname' => 'Smith'
- }
- ]
+ person => [
+ { email => [ '[email protected]', '[email protected]' ],
+ firstname => 'Joe',
+ lastname => 'Smith'
+ },
+ { email => '[email protected]',
+ firstname => 'Bob',
+ lastname => 'Smith'
+ }
+ ]
}
Nested elements with a recognised key attribute are transformed (folded) from
@@ -631,20 +614,20 @@
</opt>
{
- 'person' => {
- 'jbloggs' => {
- 'firstname' => 'Joe',
- 'lastname' => 'Bloggs'
- },
- 'tsmith' => {
- 'firstname' => 'Tom',
- 'lastname' => 'Smith'
- },
- 'jsmith' => {
- 'firstname' => 'Joe',
- 'lastname' => 'Smith'
- }
- }
+ person => {
+ jbloggs => {
+ firstname => 'Joe',
+ lastname => 'Bloggs'
+ },
+ tsmith => {
+ firstname => 'Tom',
+ lastname => 'Smith'
+ },
+ jsmith => {
+ firstname => 'Joe',
+ lastname => 'Smith'
+ }
+ }
}
The <anon> tag can be used to form anonymous arrays:
@@ -657,14 +640,11 @@
</opt>
{
- 'head' => [
- [ 'Col 1', 'Col 2', 'Col 3' ]
- ],
- 'data' => [
- [ 'R1C1', 'R1C2', 'R1C3' ],
- [ 'R2C1', 'R2C2', 'R2C3' ],
- [ 'R3C1', 'R3C2', 'R3C3' ]
- ]
+ head => [ [ 'Col 1', 'Col 2', 'Col 3' ] ],
+ data => [ [ 'R1C1', 'R1C2', 'R1C3' ],
+ [ 'R2C1', 'R2C2', 'R2C3' ],
+ [ 'R3C1', 'R3C2', 'R3C3' ]
+ ]
}
Anonymous arrays can be nested to arbirtrary levels and as a special case, if
@@ -694,8 +674,8 @@
</opt>
{
- 'one' => 'first',
- 'two' => { 'attr' => 'value', 'content' => 'second' }
+ one => 'first',
+ two => { attr => 'value', content => 'second' }
}
Mixed content (elements which contain both text content and nested elements)
@@ -709,12 +689,16 @@
L<XML::Simple>, the SAX and original implementation
-=head1 COPYRIGHT
+=head1 COPYRIGHTS
The interface design and large parts of the documentation were taken
from the L<XML::Simple> module, written by
Grant McLean E<lt>[email protected]<gt>
-This version was composed by Mark Overmeer F<[email protected]>
-See L<http://perl.overmeer.net/xml-libxml-simple>
+Copyrights of the perl code and the related documentation by
+2008-2013 by [Mark Overmeer]. For other contributors see ChangeLog.
+
+This program is free software; you can redistribute it and/or modify it
+under the same terms as Perl itself.
+See F<http://www.perl.com/perl/misc/Artistic.html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/t/99pod.t
new/XML-LibXML-Simple-0.93/t/99pod.t
--- old/XML-LibXML-Simple-0.91/t/99pod.t 2011-07-11 22:40:06.000000000
+0200
+++ new/XML-LibXML-Simple-0.93/t/99pod.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-#!/usr/bin/perl
-use warnings;
-use strict;
-
-use Test::More;
-
-BEGIN
-{ eval "use Test::Pod 1.00";
- plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
-
- plan skip_all => "devel home uses OODoc"
- if $ENV{MARKOV_DEVEL};
-}
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXML-Simple-0.91/xt/99pod.t
new/XML-LibXML-Simple-0.93/xt/99pod.t
--- old/XML-LibXML-Simple-0.91/xt/99pod.t 1970-01-01 01:00:00.000000000
+0100
+++ new/XML-LibXML-Simple-0.93/xt/99pod.t 2013-02-19 09:04:18.000000000
+0100
@@ -0,0 +1,15 @@
+#!/usr/bin/perl
+use warnings;
+use strict;
+
+use Test::More;
+
+BEGIN
+{ eval "use Test::Pod 1.00";
+ plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+
+ plan skip_all => "devel home uses OODoc"
+ if $ENV{MARKOV_DEVEL};
+}
+
+all_pod_files_ok();
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]