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