How to Install and Uninstall perl-XML-Stream Package on openSUSE Leap
Last updated: December 26,2024
1. Install "perl-XML-Stream" package
This guide let you learn how to install perl-XML-Stream on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-XML-Stream
Copied
2. Uninstall "perl-XML-Stream" package
This guide let you learn how to uninstall perl-XML-Stream on openSUSE Leap:
$
sudo zypper remove
perl-XML-Stream
Copied
3. Information about the perl-XML-Stream package on openSUSE Leap
Information for package perl-XML-Stream:
----------------------------------------
Repository : Main Repository
Name : perl-XML-Stream
Version : 1.24-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 295.1 KiB
Installed : No
Status : not installed
Source package : perl-XML-Stream-1.24-bp155.2.10.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.
----------------------------------------
Repository : Main Repository
Name : perl-XML-Stream
Version : 1.24-bp155.2.10
Arch : noarch
Vendor : openSUSE
Installed Size : 295.1 KiB
Installed : No
Status : not installed
Source package : perl-XML-Stream-1.24-bp155.2.10.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.