Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/briandfoy/hash-asobject
- Owner: briandfoy
- Created: 2022-08-31T22:45:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-01T10:33:53.000Z (over 2 years ago)
- Last Synced: 2024-11-14T21:37:57.427Z (2 months ago)
- Topics: perl, perl-module
- Language: Perl
- Homepage:
- Size: 25.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
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'}; # 456DESCRIPTION
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 installCOPYRIGHT
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.