Jason
Jason

Reputation: 11

Perl: inc::Module::Install in Makefile.PL and installing executable

I'm writing a CPAN module and using inc::Module::Install 1.00 in Makefile.PL. The project has an executable perl script that needs to be installed into the defined location for runnable scripts. Given the script is

bin/foo

What is the correct parameters to pass?

Thanks

Upvotes: 1

Views: 360

Answers (1)

Alan Haggai Alavi
Alan Haggai Alavi

Reputation: 74272

You could use install_script. In your Makefile.PL add:

install_script 'bin/foo';

Upvotes: 4

Related Questions