Masahiro Nagano > Module-Install-ShareFile-0.04 > Module::Install::ShareFile

Download:
Module-Install-ShareFile-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source  

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.

syntax highlighting: