On Mon, 23 Jan 2017 10:44:18 +0100
Luca Ferrari <fluca1...@infinito.it> wrote:

> On Mon, Jan 23, 2017 at 10:39 AM, Chas. Owens <chas.ow...@gmail.com> wrote:
> > I think you are saying you want to be able to create one file you can give
> > to someone else and have them run a Perl 5 program you have written without
> > having to install all of the modules (and possibly even perl itself).  If
> > this is the case, then you are in luck.  There are a couple of solutions
> > that exist today:  
> 
> No, sorry, I misexplained my aim: I want to be able to do all normal
> CPAN stuff like installing my module, testing, getting dependencies,
> but with the final result of installing an executable instead of a
> module.
> Your solutions are really interesting, and while I already knew about
> par and docker, fatpack has been an interesting hint, but I'm looking
> for something simpler.
> 
> Luca
> 

Hi Luca!

I think you should take a look at Dist-Zilla ( http://dzil.org/ ;
https://github.com/rjbs/dist-zilla/ ; https://metacpan.org/release/Dist-Zilla )
which seems to be what most modern Perl developers prefer. You can use it for
executables using https://metacpan.org/pod/Dist::Zilla::Plugin::ExecDir .

Also note that I started working on
https://github.com/shlomif/dzil-dist-ini-format-documentation but it may be
lacking in part because there are several layers to the dist.ini parser and my
breadcrumbs trail was getting longer.

Regards,

        Shlomi Fish


-- 
-----------------------------------------------------------------
Shlomi Fish

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to