Array::Objectify - objectify an array
Version 0.02
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;
Instantiate a new Array::Objectify object which is a wrapper arround Array::Objectify::Tie.
Array::Objectify->new(...);
LNATION, <email at lnation.org>
<email at lnation.org>
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.
bug-array-objectify at rt.cpan.org
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)
https://rt.cpan.org/NoAuth/Bugs.html?Dist=Array-Objectify
CPAN Ratings
https://cpanratings.perl.org/d/Array-Objectify
Search CPAN
https://metacpan.org/release/Array-Objectify
This software is Copyright (c) 2021 by LNATION.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install Array::Objectify, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Array::Objectify
CPAN shell
perl -MCPAN -e shell install Array::Objectify
For more information on module installation, please visit the detailed CPAN module installation guide.