The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

FUNCTIONS

get_fh

get a filehandle to read the data. The filehandle will be put at the start of the data, you should not 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.

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.

generate_module_from_file

generate the data file contents. See full documentation at "generate_module_from_file" in Data::Embed.

AUTHOR

Flavio Poletti <polettix@cpan.org>

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.