Jabber::NS - Jabber namespaces
use Jabber::NS qw(<some tag>); print NS_AUTH;
Jabber::NS is simply a load of constants that reflect Jabber namespace constants (and other things). These can be imported into your program with the
use statement. These namespace constants are based on those specified in the lib/lib.h file in the Jabber server source.
By default, nothing is imported - specify one or more tags or individual constants in the
use statement as shown in the SYNOPSIS.
The tags are:
Stream namespaces, such as jabber:client.
IQ namespaces, such as jabber:iq:auth.
X namespaces, such as jabber:x:oob.
Miscellaneous namespaces, such as the w3c one for XHTML.
Various flags, such as r_HANDLED, used by Jabber::Connection.
You can use this to bring in all the namespaces that this module offers.
Don't forget to prefix these tag names with a colon, e.g.:
use Jabber::NS qw(:iq :x);
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.