Christian Hansen > Class-Param-0.1 > Class::Param::Decorator

Download:
Class-Param-0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Class::Param::Decorator - Class Param Decorator Class

SYNOPSIS ^

    package MyDecorator;
    use base 'Class::Param::Decorator';

    sub get {
        # do something
    }

DESCRIPTION ^

METHODS ^

new

Constructor. Takes one argument, an instance of Class::Param::Base.

initialize

Called after construction with same arguments given to constructor, should return the instance.

decorated

Returns the decorated Class::Param::Base instance.

get

This method simply performs $self-decorated->get> and returns the result.

set

This method simply performs $self-decorated->set> and returns the result.

has

This method simply performs $self-decorated->has> and returns the result.

count

This method simply performs $self-decorated->count> and returns the result.

clear

This method simply performs $self-decorated->clear> and returns the result.

names

This method simply performs $self-decorated->names> and returns the result.

remove

This method simply performs $self-decorated->remove> and returns the result.

SEE ASLO ^

Class::Param.

Class::Param::Base.

AUTHOR ^

Christian Hansen chansen@cpan.org

COPYRIGHT ^

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: