NAME

TablesRole::Util::Basic - Provide utility methods

VERSION

This document describes version 0.004 of TablesRole::Util::Basic (from Perl distribution TablesRoles-Standard), released on 2020-11-04.

DESCRIPTION

This role provides some basic utility methods.

PROVIDED METHODS

as_aoa

Usage:

my $aoa = $table->as_aoa;

Return table data as array of arrayrefs. Will reset row iterator.

as_aoh

Usage:

my $aoh = $table->as_aoh;

Return table data as array of hashrefs. Will reset row iterator.

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/TablesRoles-Standard.

SOURCE

Source repository is at https://github.com/perlancar/perl-TablesRoles-Standard.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=TablesRoles-Standard

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Other TablesRole::Util::*

Tables

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.