How to Install and Uninstall perl-XML-Stream Package on openSuSE Tumbleweed

Last updated: December 28,2024

1. Install "perl-XML-Stream" package

This is a short guide on how to install perl-XML-Stream on openSuSE Tumbleweed

$ sudo zypper refresh $ sudo zypper install perl-XML-Stream

2. Uninstall "perl-XML-Stream" package

Here is a brief guide to show you how to uninstall perl-XML-Stream on openSuSE Tumbleweed:

$ sudo zypper remove perl-XML-Stream

3. Information about the perl-XML-Stream package on openSuSE Tumbleweed

Information for package perl-XML-Stream:
----------------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : perl-XML-Stream
Version : 1.24-1.29
Arch : noarch
Vendor : openSUSE
Installed Size : 288.7 KiB
Installed : No
Status : not installed
Source package : perl-XML-Stream-1.24-1.29.src
Upstream URL : http://search.cpan.org/dist/XML-Stream/
Summary : Creates an XML Stream connection and parses return data
Description :
This module provides the user with methods to connect to a remote server,
send a stream of XML to the server, and receive/parse an XML stream from
the server. It is primarily based work for the Etherx XML router developed
by the Jabber Development Team. For more information about this project
visit http://xmpp.org/protocols/streams/.
XML::Stream gives the user the ability to define a central callback that
will be used to handle the tags received from the server. These tags are
passed in the format defined at instantiation time. the closing tag of an
object is seen, the tree is finished and passed to the call back function.
What the user does with it from there is up to them.
For a detailed description of how this module works, and about the data
structure that it returns, please view the source of Stream.pm and look at
the detailed description at the end of the file.
NOTE: The parser that XML::Stream::Parser provides, as are most Perl
parsers, is synchronous. If you are in the middle of parsing a packet and
call a user defined callback, the Parser is blocked until your callback
finishes. This means you cannot be operating on a packet, send out another
packet and wait for a response to that packet. It will never get to you.
Threading might solve this, but as we all know threading in Perl is not
quite up to par yet. This issue will be revisted in the future.