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

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.