Protocol::Yadis::Document::Service::Element - Protocol::Yadis::Document::Service element object
my $e = Protocol::Yadis::Document::Service::Element->new; $e->name('Type'); $e->attrs([a => 'b', c => 'd']); $e->content('foo'); # <Type a="b" c="d">foo</Type>
This is an element object for Protocol::Yadis::Document::Service.
name
Element name.
content
Element content.
new
Creates a new Protocol::Yadis::Document::Service::Element instance.
attrs
Sets/gets element attributes.
attr
Sets/gets element attribute.
to_string
String representation.
Viacheslav Tykhanovskyi, vti@cpan.org.
vti@cpan.org
Copyright (C) 2009, Viacheslav Tykhanovskyi.
This program is free software, you can redistribute it and/or modify it under the same terms as Perl 5.10.
To install Protocol::Yadis, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Protocol::Yadis
CPAN shell
perl -MCPAN -e shell install Protocol::Yadis
For more information on module installation, please visit the detailed CPAN module installation guide.