FAQ

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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 5 | next ›
Discussion Overview
groupmakemaker @
categoriesperl
postedAug 25, '12 at 11:04p
activeDec 1, '12 at 6:56p
posts5
users2
websitemetacpan.org...

People

Translate

site design / logo © 2017 Grokbase