in reply to Distributing executable helper scripts with CPAN Distro

If you use EUMM, add this to the config chunk in Makefile.PL :

'EXE_FILES' => [ 'path/to/your_script' ],

If you use MB, add this to the config chunk in Build.PL:

script_files => [ "path/to/your_script", ],

/J

Replies are listed 'Best First'.
Re^2: Distributing executable helper scripts with CPAN Distro
by ait (Hermit) on Jan 11, 2008 at 23:52 UTC
    Wow, this was precisely the answer I was waiting for! I felt that Makefile.PL must have had some standard way of doing this but did not find any examples in the perl libs on my machine. I obviously did not do an extensive search however.

    If I could, I would vote several times on your node, although all the responses have been great!

Re^2: Distributing executable helper scripts with CPAN Distro
by ait (Hermit) on Jan 11, 2008 at 23:52 UTC
    Wow, this was precisely the answer I was waiting for! I felt that Makefile.PL must have had some standard way of doing this but did not find any examples in the perl libs on my machine. I obviously did not do an extensive search however.

    If I could, I would vote several times on your node, although all the responses have been great also!