perl-cpanplus-dist-arch
perl-cpanplus-dist-arch copied to clipboard
installed scripts are explicitly run by the perl that builds/installs them
When I built and installed a new perl-cpanplus-dist-arch-git package it had some interesting behavior. I built it with a perl (5.12) I compiled using perlbrew (available here on github).The cpan2aur script is now prefixed with:
#!/home/juster/perl5/perlbrew/perls/perl-5.12.0/bin/perl5.12.0
eval 'exec /home/juster/perl5/perlbrew/perls/perl-5.12.0/bin/perl5.12.0 -S $0 $
{1+"$@"}'
if 0; # not running under some shell
I am assuming that cpanplus is doing this. I'm not sure if this is good or bad! In my case it was really annoying because I had no idea cpanplus was adding these to the front of my scripts... and stuff is breaking!