DOKK / manpages / debian 12 / libclass-accessor-lvalue-perl / Class::Accessor::Lvalue::Fast.3pm.en
Class::Accessor::Lvalue::Fast(3pm) User Contributed Perl Documentation Class::Accessor::Lvalue::Fast(3pm)

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

 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

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

Richard Clamp <richardc@unixbeard.net>

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.

Class::Accessor::Fast, Want

2022-06-10 perl v5.34.0