Module::Install::ShareFile - Install non-code files for use during run-time
install_sharefile 'file.txt'; install_sharefile 'file.txt'; dist => 'file.csv'; install_sharefile 'file.txt', type => 'module' module => 'MyApp::Web', dist => 'file.csv';
Module::Install::Share is very useful but It's can install only directory. This module can install a file to share directory.
Adds file to install.
Attributes are as follows:
Specify install type as 'dist' or 'module'. default is 'dist'
If type is 'module', module name is required.
Destination path. If not defined original file name is used.
Masahiro Nagano <kazeburo {at} gmail.com>
Module::Install::Share
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Module::Install::ShareFile, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Install::ShareFile
CPAN shell
perl -MCPAN -e shell install Module::Install::ShareFile
For more information on module installation, please visit the detailed CPAN module installation guide.