- LICENSE AND COPYRIGHT
Data::Transpose - Transpose, iterate, filter and validate data
Caters to your needs for manipulating data by different operations, which are filtering records, iterating records, validating and transposing to different field names.
use Data::Transpose; my $tp = Data::Transpose->new;
Parameters for the constructor are:
Determines how to treat fields in the input hash which are not known to the Data::Transpose object:
The transpose operation fails.
Unknown fields in the input hash appear in the output hash. This is the default behaviour.
Unknown fields in the input hash don't appear in the output hash.
This doesn't apply to the "transpose_object" method.
Add a new field object and return it:
Add a new group object and return it:
$tp->group('fullname', $tp->field('firstname'), $tp->field('lastname'));
$new_record = $tp->transpose($orig_record);
Transposes an object into a hash reference.
Stefan Hornburg (Racke),
<racke at linuxia.de>
Please report any bugs or feature requests at https://github.com/racke/Data-Transpose/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
Github's issue tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
LICENSE AND COPYRIGHT
Copyright 2012-2015 Stefan Hornburg (Racke).
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.