Name : perl-XML-Spice
| |
Version : 0.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2015-04-15 15:57:47
|
Group : Development/Libraries/Perl
| Source RPM : perl-XML-Spice-0.04-1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Generating XML has never been so Perly!
|
Description :
XML::Spice is yet another XML generation module. It tries to take some of the pain out of generating XML by making it more like Perl.
Unless you\'ve got a really good module for producing XML for your particular use (like a module for interfacing with a specific web service), you\'ve probably found that you end up resorting to code like this:
my $xml = q{< foo>< bar>< baz />< /bar>< quux />< /foo>};
Of course this works great, and you can\'t beat it for speed, but it quickly becomes difficult to work with. Your syntax highlighting probably just displays it as a giant string. You can\'t easily see mismatched brackets or other bugs until your code runs and tries to parse the thing. And, once you start adding attributes and character data into the mix, it rapidly moves towards being impossible to read.
Instead of this, you could use XML::Spice and write the same thing in Perl:
my $xml = foo(bar(baz()), quux());
You\'ll can add liberal amounts of whitespace to convey structure without it making your output larger. You get Perl checking to make sure that you haven\'t left anything out. You can use all the power of Perl to generate and include data without having to pepper your code with interpolated strings or concatenation operators. And you get a guarantee that the XML produced is valid.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(XML::Spice)
perl-XML-Spice
Requires :