Tie::FieldVals::Row::Join - a hash tie for merging rows of Tie::FieldVals data
This describes version 0.6203 of Tie::FieldVals::Row::Join.
use Tie::FieldVals::Row; use Tie::FieldVals::Row::Join; # just the keys my %person_thing; my $jr = tie %person_thing, 'Tie::FieldVals::Row::Join, fields=>@keys; # keys and values my %person; my $rr = tie %person_thing, 'Tie::FieldVals::Row, fields=>@keys; my %person_thing; my $jr = tie %person_thing, 'Tie::FieldVals::Row::Join, row=>$rr;
This is a Tie object to enable the merging of more than one Tie::FieldVals::Row hashes into one hash.
$row_obj->append_keys(@fields);
Extend the legal fields definition by adding the given fields to it. Sets the given fields to be undefined.
$row_obj->merge_rows($row_obj2);
Merge a Tie::FieldVals::Row object with this one. The second row object has different Fields than this one, and this will extend the legal fields definition by adding the given fields to it, as well as adding the values of the second row to this row.
Create a new instance of the object as tied to a hash.
my %person_thing; my $jr = tie %person_thing, 'Tie::FieldVals::Row::Join, fields=>@keys; my %person; my $rr = tie %person_thing, 'Tie::FieldVals::Row, fields=>@keys; my %person_thing; my $jr = tie %person_thing, 'Tie::FieldVals::Row::Join, row=>$rr;
For developer reference only.
Set debugging on.
For debugging: say who called this
Test::More Carp
perl(1). Tie::FieldVals Tie::FieldVals::Join
Please report any bugs or feature requests to the author.
Kathryn Andersen (RUBYKAT) perlkat AT katspace dot com http://www.katspace.com
Copyright (c) 2004 by Kathryn Andersen
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Tie::FieldVals, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tie::FieldVals
CPAN shell
perl -MCPAN -e shell install Tie::FieldVals
For more information on module installation, please visit the detailed CPAN module installation guide.