Richard Clamp > Class-Accessor-Lvalue-0.11 > Class::Accessor::Lvalue

Download:
Class-Accessor-Lvalue-0.11.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Module Version: 0.11   Source  

NAME ^

Class::Accessor::Lvalue - create Lvalue accessors

SYNOPSIS ^

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

 my $foo = Foo->new;
 $foo->bar = 42;
 print $foo->bar; # prints 42

DESCRIPTION ^

This module subclasses Class::Accessor in order to provide lvalue accessor makers.

CAVEATS ^

AUTHOR ^

Richard Clamp <richardc@unixbeard.net> with many thanks to Yuval Kogman for helping with the groovy lvalue tie magic used in the main class.

COPYRIGHT ^

Copyright (C) 2003 Richard Clamp. All Rights Reserved.

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

SEE ALSO ^

Class::Accessor, Class::Accessor::Lvalue::Fast

syntax highlighting: