wrap an object with lvalue getters / setters
or in a constructor:
in void context, an in-place modification is done:
the alias lvalue is provided for wrap which when you export it as a function, can lead to some nice code:
|rvalue LVALUE_OBJECT||returns the original object|
Eric Strom, <asg at cpan.org>
special care is taken to ensure that overloaded objects still work properly. if you encounter an error please let me know.
Please report any bugs or feature requests to bug-lvalue at rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lvalue>. I will be notified, and then youll automatically be notified of progress on your bug as I make changes.
Copyright 2010 Eric Strom.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
|perl v5.20.3||LVALUE (3)||2016-03-17|