Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
lib/ | H | 03-May-2022 | - | 251 | 105 | |
t/ | H | 19-Sep-2010 | - | 156 | 113 | |
Build.PL | H A D | 06-May-2010 | 586 | 25 | 22 | |
Changes | H A D | 04-May-2010 | 51 | 4 | 2 | |
MANIFEST | H A D | 06-May-2010 | 127 | 12 | 11 | |
META.yml | H A D | 19-Sep-2010 | 575 | 28 | 27 | |
Makefile.PL | H A D | 19-Sep-2010 | 521 | 20 | 18 | |
README | H A D | 04-May-2010 | 1.4 KiB | 72 | 40 |
README
1Lvalue 2 3 4Lvalue - wrap objects with lvalue getters and setters 5 6version 0.1 7 8SYNOPSIS 9 10Assuming an object with standard getter / setter functionality (that is, any arguments 11is a setter, no arguments is a getter): 12 13 my $obj = SomePackage->new(); 14 15 $obj->value(5); 16 17 print $obj->value(); # prints 5 18 19 use Lvalue; 20 21 Lvalue->wrap( $obj ); 22 23 $obj->value = 10; 24 25 print $obj->value; # prints 10 26 27 $_ += 2 for $obj->value; 28 29 print $obj->value; # prints 12 30 31 32INSTALLATION 33 34To install this module, run the following commands: 35 36 perl Build.PL 37 ./Build 38 ./Build test 39 ./Build install 40 41SUPPORT AND DOCUMENTATION 42 43After installing, you can find documentation for this module with the 44perldoc command. 45 46 perldoc Lvalue 47 48You can also look for information at: 49 50 RT, CPAN's request tracker 51 http://rt.cpan.org/NoAuth/Bugs.html?Dist=Lvalue 52 53 AnnoCPAN, Annotated CPAN documentation 54 http://annocpan.org/dist/Lvalue 55 56 CPAN Ratings 57 http://cpanratings.perl.org/d/Lvalue 58 59 Search CPAN 60 http://search.cpan.org/dist/Lvalue/ 61 62 63COPYRIGHT AND LICENCE 64 65Copyright (C) 2010 Eric Strom 66 67This program is free software; you can redistribute it and/or modify it 68under the terms of either: the GNU General Public License as published 69by the Free Software Foundation; or the Artistic License. 70 71See http://dev.perl.org/licenses/ for more information. 72