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

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

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source  

NAME ^

Class::Accessor::Lvalue::Fast - create simplified Lvalue accessors

SYNOPSIS ^

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

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

DESCRIPTION ^

This module subclassess Class::Accessor::Fast in order to provide lvalue accessors.

AUTHOR ^

Richard Clamp <richardc@unixbeard.net>

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::Fast, Want

syntax highlighting: