debian man page for html::widget::accessor

Query: html::widget::accessor

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

HTML::Widget::Accessor(3pm)				User Contributed Perl Documentation			       HTML::Widget::Accessor(3pm)

NAME
HTML::Widget::Accessor - Accessor Class
SYNOPSIS
use base 'HTML::Widget::Accessor';
DESCRIPTION
Accessor Class.
METHODS
attributes attrs Arguments: %attributes Arguments: \%attributes Return Value: $self Arguments: none Return Value: \%attributes Accepts either a list of key/value pairs, or a hash-ref. $w->attributes( $key => $value ); $w->attributes( { $key => $value } ); Returns the object reference, to allow method chaining. As of v1.10, passing a hash-ref no longer deletes current attributes, instead the attributes are added to the current attributes hash. This means the attributes hash-ref can no longer be emptied using "$w-"attributes( { } );>. Instead, you may use "%{ $w-"attributes } = ();>. As a special case, if no arguments are passed, the return value is a hash-ref of attributes instead of the object reference. This provides backwards compatibility to support: $w->attributes->{key} = $value; "attrs" is an alias for "attributes". mk_attr_accessors Arguments: @names Return Value: @names
AUTHOR
Sebastian Riedel, "sri@oook.de"
LICENSE
This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-01-19 HTML::Widget::Accessor(3pm)
Related Man Pages
class::accessor::fast(3) - osx
class::accessor::lvalue(3pm) - debian
class::mop::method::accessor(3pm) - debian
html::widget::constraint::callbackonce(3pm) - debian
html::widget::element(3pm) - debian
Similar Topics in the Unix Linux Community
perl help on hash
Basic Perl - pass by ref