andk / cpanpm

CPAN.pm
87 stars 79 forks source link

RT-145462: cpan -g exits with the wrong value #162

Open briandfoy opened 1 year ago

briandfoy commented 1 year ago

I'm transferring and splitting up some issues reported in App::Cpan many problems, multiple fixes.

While downloading distro files, the internal _download function returns a hash reference instead of the exit value expected by the dispatcher. As such, the exit value never indicates a successful operation.

Patch provided by "eponymous alias" eponymousalias@yahoo.com in the RT ticket App.Cpan.patch.txt