NAME
Array::Objectify - objectify an array
VERSION
Version 0.03
SYNOPSIS
Quick summary of what the module does.
Perhaps a little code snippet.
use Array::Objectify;
my $array = Array::Objectify->new(
'abc',
{
a => 1,
b => 2,
c => 3
},
[
{
a => 1
},
{
b => 2
},
{
c => 3
}
]
);
$array->[0] # 'abc';
$array->[1]->a; # 1
$array->[2]->[1]->b; # 2;
scalar @{$array}; # 3;
push @{$array}, { d => 1 };
$array->[3]->d # 1;
...
use Array::Objectify::Tie;
tie my @array, 'Array::Objectify::Tie', 'abc', { a => 1, b => 2, c => 3}, [ { a => 1 }, { b => 2 }, { c => 3 } ];
$array[0] # 'abc';
$array[1]->a; # 1
$array[2]->[1]->b; # 2;
scalar @array; # 3;
push @array, { d => 1 };
$array->[3]->d # 1;
Methods
new
Instantiate a new Array::Objectify object which is a wrapper arround Array::Objectify::Tie.
Array::Objectify->new(...);
AUTHOR
LNATION, <email at lnation.org>
BUGS
Please report any bugs or feature requests to bug-array-objectify at rt.cpan.org
, or through the web interface at https://rt.cpan.org/NoAuth/ReportBug.html?Queue=Array-Objectify. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Array::Objectify
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
This software is Copyright (c) 2021 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)