Scroll to navigation

Class::Accessor::Lvalue::Fast(3pm) User Contributed Perl Documentation Class::Accessor::Lvalue::Fast(3pm)

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

2022-06-10 perl v5.34.0