Net::Jabber - Jabber Perl Library
Net::Jabber provides a Perl user with access to the Jabber Instant Messaging protocol.
Net::Jabber is a convenient tool to use for any perl scripts that would like to utilize the Jabber Instant Messaging protocol. While not a client in and of itself, it provides all of the necessary back-end functions to make a CGI client or command-line perl client feasible and easy to use. Net::Jabber is a wrapper around the rest of the official Net::Jabber::xxxxxx packages. The synopsis above gives an example program that uses these packages to create a vary simple Jabber client that logs a user in and displays any messages they receive.
Net::Jabber::Client - this package contains the code needed to communicate with a Jabber server: login, wait for messages, send messages, and logout. It uses XML::Stream to read the stream from the server and based on what kind of tag it encounters it calls a function to handle the tag. Net::Jabber::Message - everything needed to create and read a <message/> received from the server. Net::Jabber::Presence - everything needed to create and read a <presence/> received from the server. Net::Jabber::IQ - IQ is a wrapper around a number of modules that provide support for the various namespaces that Jabber recognizes. Net::Jabber::IQ::Auth - everything needed to authenticate a session to the server. Net::Jabber::IQ::Info - everything needed to manage and query the personal data stored on the server. Net::Jabber::IQ::Register - everything needed to create a new Jabber account on the server. Net::Jabber::IQ::Resource - everything needed to manage and query Jabber ID Resources. Net::Jabber::IQ::Roster - everything needed to manage and query the server side Rosters.
By Ryan Eatmon in October of 1999 for http://perl.jabber.org/
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Net::Jabber, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Jabber
CPAN shell
perl -MCPAN -e shell install Net::Jabber
For more information on module installation, please visit the detailed CPAN module installation guide.