Class-Accessor-Chained README


Class-Accessor-Chained documentation  | view source Contained in the Class-Accessor-Chained distribution.

Index


NAME

Top

Class::Accessor::Chained - make chained accessors

SYNOPSIS

Top

 package Foo;
 use base qw( Class::Accessor::Chained );
 __PACKAGE__->mk_accessors(qw( foo bar baz ));

 my $foo = Foo->new->foo(1)->bar(2)->baz(4);
 print $foo->bar; # prints 2




DEPENDENCIES

Top

This module has external dependencies on the following modules:

 Class::Accessor

INSTALLATION

Top

 perl Build.PL
 perl Build test

and if all goes well

 perl Build install

HISTORY

Top

What changed over the last 3 revisions

0.01 Monday 24th November, 2003
	initial CPAN release
=back

AUTHOR

Top

Richard Clamp <richardc@unixbeard.net>

COPYRIGHT

Top

SEE ALSO

Top

Class::Accessor, Class::Accessor::Chained::Fast


Class-Accessor-Chained documentation  | view source Contained in the Class-Accessor-Chained distribution.