Codebase list libhash-asobject-perl / HEAD
HEAD

Tree @HEAD (Download .tar.gz)

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.