| 1 |
NAME |
| 2 |
|
| 3 |
Hash::AsObject - hashes with accessors/mutators |
| 4 |
|
| 5 |
|
| 6 |
SYNOPSIS |
| 7 |
|
| 8 |
$h = Hash::AsObject->new({'foo'=>123}); |
| 9 |
$foo = $h->foo; # 123 |
| 10 |
$h->bar(456); |
| 11 |
$bar = $h->bar; # 456 |
| 12 |
$bar = $h->{'bar'}; # 456 |
| 13 |
|
| 14 |
|
| 15 |
DESCRIPTION |
| 16 |
|
| 17 |
See the POD documentation in lib/Hash/AsObject.pm, or |
| 18 |
use perldoc. |
| 19 |
|
| 20 |
|
| 21 |
INSTALL |
| 22 |
|
| 23 |
Install it in the usual way: |
| 24 |
|
| 25 |
perl Makefile.PL |
| 26 |
make |
| 27 |
make test |
| 28 |
[sudo] make install |
| 29 |
|
| 30 |
|
| 31 |
COPYRIGHT |
| 32 |
|
| 33 |
Copyright 2003-2004 Paul M. Hoffman. All rights reserved. |
| 34 |
|
| 35 |
This program is free software; you can redistribute it |
| 36 |
and modify it under the same terms as Perl itself. |
| 37 |
|