Gianni Ceccarelli > Data-MultiValued-0.0.1_4 > Data::MultiValued::AttributeAccessors

Download:
Data-MultiValued-0.0.1_4.tar.gz

Dependencies

Annotate this POD

Module Version: 0.0.1_4   Source  

NAME ^

Data::MultiValued::AttributeAccessors - method meta-class for multi-valued attribute accessors

VERSION ^

version 0.0.1_4

DESCRIPTION ^

Subclass of Moose::Meta::Method::Accessor, generates non-inlined (patches welcome) accessors for multi-valued attributes.

METHODS ^

_instance_is_inlinable

Returns 0 to prevent attempts to inline the accessor methods.

_generate_accessor_method

_generate_reader_method

_generate_writer_method

_generate_predicate_method

_generate_clearer_method

Delegate to set_multi_value, get_multi_value, has_multi_value, clear_multi_value, passing empty options (i.e. no tags, no ranges).

_generate_multi_accessor_method

_generate_multi_reader_method

_generate_multi_writer_method

_generate_multi_predicate_method

_generate_multi_clearer_method

Delegate to set_multi_value, get_multi_value, has_multi_value, clear_multi_value, passing $_[1] as options and $_[2] as values.

AUTHOR ^

Gianni Ceccarelli <dakkar@thenautilus.net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2011 by Net-a-Porter.com.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: