poe::filter::xml::utils(3pm) debian man page | unix.com

Man Page: poe::filter::xml::utils

Operating Environment: debian

Section: 3pm

POE::Filter::XML::Utils(3pm)				User Contributed Perl Documentation			      POE::Filter::XML::Utils(3pm)

NAME
POE::Filter::XML::Utils - General purpose utilities for POE::Filter::XML
SYNOPSIS
use POE::Filter::XML::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' my $resource = get_resource('nickperez@jabber.org/Gaim'); # gets 'Gaim' my $array = get_parts('nickperez@jabber.org/Gaim'); # gets username: $array->[0] == 'nickperez' # gets domain: $array->[1] == 'jabber.org' # gets resource: $array->[2] == 'Gaim'
DESCRIPTION
POE::Filter::XML::Utils provides some common use utilities for use with POE::Filter::XML such as XML configuration files, make nodes reply, add errors for error replies, and gather things from jids.
AUTHOR
Copyright (c) 2003, 2006 Nicholas Perez. Released and distributed under the GPL. perl v5.10.0 2009-04-25 POE::Filter::XML::Utils(3pm)
Related Man Pages
poe::driver::sysrw(3pm) - debian
poe::filter::irc::compat(3pm) - debian
poe::filter::recordblock(3pm) - debian
poe::filter::stream(3pm) - debian
poe::filter::xml::node(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Is UNIX an open source OS ?
Introduction
One instance of comparing grep and awk
Weird 'find' results