NAME

Module::Install::ShareFile - Install non-code files for use during run-time

SYNOPSIS

install_sharefile 'file.txt';

install_sharefile 'file.txt';
    dist => 'file.csv';

install_sharefile 'file.txt',
    type => 'module'
    module => 'MyApp::Web',
    dist => 'file.csv';

DESCRIPTION

Module::Install::Share is very useful but It's can install only directory. This module can install a file to share directory.

METHODS

install_sharefile( $from, %args )

Adds file to install.

Attributes are as follows:

type: String

Specify install type as 'dist' or 'module'. default is 'dist'

module: String

If type is 'module', module name is required.

dist: String

Destination path. If not defined original file name is used.

AUTHOR

Masahiro Nagano <kazeburo {at} gmail.com>

SEE ALSO

Module::Install::Share

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.