in reply to building a module with executable scripts
Using the example you provided. I'll propose some possible changes/additions
Note the addition, and position of EXE_FILES, and PL_FILES. This is normally how/where such things are added/used. I have no idea where your EXE file is, or if it's even a EXE type file. Same goes for the PL file. Is it a Perl script you are attempting to include? Where is it located within the Module tree? In the root? In a "script" directory off root? These are things you'll need to know, in order to accomplich your goal.use 5.012001; use ExtUtils::MakeMaker; WriteMakefile( NAME => 'MyModule', VERSION_FROM => 'lib/MyModule.pm', EXE_FILES => ['script_name'], PL_FILES => {}, PREREQ_PM => {'WWW::Curl::Easy' => 4.15, 'JSON::XS' => 2.32, 'Term::ReadKey' => 2.30, 'String::Strip' => 1.02, 'Date::Parse' => 2.30, }, ABSTRACT_FROM => 'lib/MyModule.pm', AUTHOR => 'me <me@example.com>', # EXE_FILES => [ 'script_name' ], );
HTH, and best wishes.
--Chris
Yes. What say about me, is true.
|
---|