Swalif has asked for the wisdom of the Perl Monks concerning the following question:
3- In the module file:use ExtUtils::MakeMaker; use File::ShareDir::Install; install_share 'share'; install_share dist => 'share'; ##also tried this: install_share module => 'My::Module', 'share';
all cases failed to locate the file.use File::ShareDir ':ALL'; File::ShareDir::dist_file('My-Distribution', 'file.po'); #and File::ShareDir::dist_file('My-Distribution', 'share/file.po'); #and later tried this File::ShareDir::module_file("My::Module","file.po");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problem File::ShareDir::Install
by Anonymous Monk on Mar 14, 2012 at 14:17 UTC | |
by Swalif (Scribe) on Mar 14, 2012 at 16:31 UTC |