Name : perl-XML-Spice
| |
Version : 0.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.48
| Date : 2017-03-06 08:25:38
|
Group : Development/Libraries/Perl
| Source RPM : perl-XML-Spice-0.04-1.48.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_11_SP3/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(XML::Spice)
perl-XML-Spice
Requires :