NAME

Net::Plazes::Base - base/super- class for Net::Plazes::*

VERSION

$Revision$

SYNOPSIS

use base qw(Net::Plazes::Base);

sub fields {
 return qw(id field_one field_two);
}

DESCRIPTION

Net::Plazes::Base shouldn't be used directly. It's designed to be inherited from to represent various concrete resources, see Net::Plazes::Plaze, Net::Plazes::User, Net::Plazes::Presence

SUBROUTINES/METHODS

new - constructor

service - service url for entities of this type

doc_element - name of top-level dom element this resource represents

fields - list of accessors for resources of this type

my @aFields = $oObj->fields();

useragent - (cached) LWP::Useragent object

parser - (cached) XML::LibXML object

get - Class::Accessor override for triggering web fetches

process_dom - process accessors data from dom

has_many - compile-time accessor setup for list() fetching

read - fetch and process element with this id

list - fetch and process all available elements

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

strict
warnings
Carp
English -no_match_vars
HTTP::Request
LWP::UserAgent
XML::LibXML
Class::Accessor
Lingua::EN::Inflect
base

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

$Author: Roger Pettett$

LICENSE AND COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.10 or, at your option, any later version of Perl 5 you may have available.