NAME

ArrayData - Specification for ArrayData::*, modules that contains array data

SPECIFICATION VERSION

0.2

VERSION

This document describes version 0.2.0 of ArrayData (from Perl distribution ArrayData), released on 2021-04-20.

SYNOPSIS

Use one of the ArrayData::* modules.

DESCRIPTION

NOTE: EARLY SPECIFICATION; THINGS WILL STILL CHANGE A LOT.

ArrayData::* modules are modules that contain array data. The array can be accessed via a standard interface (see ArrayDataRole::Spec::Basic). Some examples of array data are:

Why put data in a Perl module, as a Perl distribution? To leverage the Perl/CPAN toolchain and infrastructure: 1) ease of installation, update, and uninstallation; 2) allowing dependency expression and version comparison; 3) ease of packaging further as OS packages, e.g. Debian packages (converted from Perl distribution); 4) testing by CPAN Testers.

The array data can actually be stored as Perl array in the Perl module source code, or as lines in the DATA section of the Perl module, or in a shared file of the distribution.

To get started, see ArrayDataRole::Spec::Basic and one of existing ArrayData::* modules.

NAMESPACE ORGANIZATION

ArrayData (this module) is the specification.

ArrayDataRole::* the roles.

All the modules under ArrayData::* will be modules with actual data.

ArrayDataBundle-* is name for distribution that contains several ArrayData modules.

FAQ

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/ArrayData.

SOURCE

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

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/perlancar/perl-ArrayData/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

HashData, TableData are related projects.

WordList is an older, related project. ArrayData and its sister projects HashData & TableData are a generalization and cleanup of the WordList API.

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.