On Sun, Jul 03, 2011 at 08:45:21AM +0900, Shmuel Fomberg wrote:

> I want to add a runnable script to a CPAN module.
> 
> can anyone point me to the appropriate documentation that explains how 
> to do it?

See CPAN::ParseDistribution for an example - EXE_FILES in Makefile.PL.

> how do I make sure that the shebang line in the installed script points 
> to the same Perl that installs this module?

#!perl will get transmogrified.

> how do I make sure that a batch file is generated on Windows?

Dunno, but I'd assume that EU::MM will just DTRT.

-- 
header   FROM_DAVID_CANTRELL    From =~ /david.cantrell/i
describe FROM_DAVID_CANTRELL    Message is from David Cantrell
score    FROM_DAVID_CANTRELL    15.72 # This figure from experimentation

Reply via email to