Acme-Include-Data
view release on metacpan or search on metacpan
-----------------------------------------------------------------------------
1. ABOUT
Acme::Include::Data - how to include data files with a CPAN module
This is a demonstration module which demonstrates how to include a
data file with a Perl module and how to read it in at run time.
If you are a CPAN author or use the CPAN-style tools to distribute
your data, you may have wondered how to include data with your Perl
distribution.
Any file under lib in the distribution is bundled into the
distribution by "Makefile.PL". So if your distribution is called
"Acme::Include::Data", then a file called
"lib/Acme/Include/this-is-a-data-file.txt" is automatically included
into the distribution.
To read the data file in, simply use __FILE__:
lib/Acme/Include/Data.pod view on Meta::CPAN
=head1 VERSION
This documents Acme::Include::Data version 0.05
corresponding to git commit L<888db01e4ebcd8509cf550a8be559e728425126b|https://github.com/benkasminbullock/Acme-Include-Data/commit/888db01e4ebcd8509cf550a8be559e728425126b> released on Thu Feb 2 09:04:20 2017 +0900.
=head1 DESCRIPTION
This is a demonstration module which demonstrates how to include a
data file with a Perl module and how to read it in at run time.
If you are a CPAN author or use the CPAN-style tools to distribute
your data, you may have wondered how to include data with your Perl
distribution.
Any file under lib in the distribution is bundled into the
distribution by F<Makefile.PL>. So if your distribution is called
F<Acme::Include::Data>, then a file called
F<lib/Acme/Include/this-is-a-data-file.txt> is automatically included
into the distribution.
To read the data file in, simply use __FILE__:
( run in 0.561 second using v1.01-cache-2.11-cpan-49f99fa48dc )