Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/briandfoy/hash-asobject

(Perl) The Hash::AsObject module
https://github.com/briandfoy/hash-asobject

perl perl-module

Last synced: 12 days ago
JSON representation

(Perl) The Hash::AsObject module

Awesome Lists containing this project

README

        

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.