NAME
PXR::Utils - General purpose utilities for PXR Tools
SYNOPSIS
use PXR::Utils; # exports functions listed below
my $hash_ref_to_config = &get_config($absolute_path_to_config);
my $hash_ref_to_config = &get_config(); # defaults to ./config.xml
my $node = get_reply($node); # swaps to and from and sets 'type' to IQ_RESULT
my $new_node = get_reply($node, 'blank'); # makes and returns blank result
my $node = get_error($node, $text_error, $code_number); # add error and reply
my $user = get_user('nickperez@jabber.org'); # gets 'nickperez'
my $domain = get_host('nickperez@jabber.org'); # gets 'jabber.org'
DESCRIPTION
PXR::Utils provides some common use utilities for use with PXR Tools such as XML configuration files, make nodes replies, add errors for error replies, and gather things from jids.
AUTHOR
Copyright (c) 2003 Nicholas Perez. Released and distributed under the GPL.