On 2012.8.25 4:04 PM, David Christensen wrote:
> I am working on a modulino [1] and would like to use ExtUtils::MakeMaker to
> generate a Makefile such that "make" (or "make all) copies the module file
> (lib/MyModulino.pm) to a script file (perl-bin/mymodulino.pl) and sets the
> execute bit.
I'm not sure why you'd want to turn a .pm file into a program. The simpler
way to do it is to use EXE_FILES. Write bin/mymodulino and then add this as
an argument to WriteMakefile().
EXE_FILES => ["bin/mymodulino"],
--
<Schwern> What we learned was if you get confused, grab someone and swing
them around a few times
-- Life's lessons from square dancing