=pod

=encoding utf8

=head1 Data::Embed::OneFileAsModule - generate a Perl module for carrying data

=head1 FUNCTIONS

=head2 get_fh

get a filehandle to read the data. The filehandle will be
put at the start of the data, you should not C<seek>
without taking into account that this is not at
position 0.

This function is preserved in the generated module so that
it is available to get the embedded data.

=head2 get_data

get a string with the full data provided by the carried by
the module.

This function is preserved in the generated module so that
it is available to get the embedded data.

=head2 generate_module_from_file

generate the data file contents. See full documentation
at L<Data::Embed/generate_module_from_file>.

=head1 AUTHOR

Flavio Poletti <polettix@cpan.org>

=head1 COPYRIGHT AND LICENSE

Copyright (C) 2014-2016 by Flavio Poletti <polettix@cpan.org>

This module is free software. You can redistribute it and/or modify it
under the terms of the Artistic License 2.0.

This program is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of
merchantability or fitness for a particular purpose.

=cut
