in reply to Re: (solved) combining perlbrew and cpanm
in thread (solved) combining perlbrew and cpanm

How about some example code to go with all that? Links next time would be nice too. Citations about “fatpacked,” guaranteed prereqs, “properly distributed”, and how such is able to rewrite the shebang would also be appreciated.

  • Comment on Re^2: (solved) combining perlbrew and cpanm

Replies are listed 'Best First'.
Re^3: (solved) combining perlbrew and cpanm
by Anonymous Monk on Sep 19, 2018 at 17:38 UTC
    I'm not sure what example to provide, but I'm pretty link-wary on this website since it randomly makes posts not work. Let's try: App::FatPacker, cpanm. The shebang is rewritten by the installer as long as it was originally a single path containing 'perl' - this is what I meant by 'properly distributed'. Unfortunately #!/usr/bin/env perl, while appropriate for any standalone scripts you distribute outside of CPAN, will not be rewritten due to an old bug.