NAME
HashDataRole::Source::LinesInDATA - Role to access hash data from DATA section, one line per item
VERSION
This document describes version 0.001 of HashDataRole::Source::LinesInDATA (from Perl distribution HashDataRoles-Standard), released on 2021-05-21.
DESCRIPTION
This role expects lines in the DATA section in the form of:
<key>:<value>
Internally, a hash cache is built to speed up get_item_by_key
. Another array cache is also built to speed up get_item_by_pos
.
ROLES MIXED IN
PROVIDED METHODS
fh
Returns the DATA filehandle.
fh_min_offset
Returns the starting position of DATA.
fh_max_offset
Returns undef
.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/HashDataRoles-Standard.
SOURCE
Source repository is at https://github.com/perlancar/perl-HashDataRoles-Standard.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-HashDataRoles-Standard/issues
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 HashDataRole::Source::*
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.