It might help to remove all support for external helper programs from the CPAN configuration. That way it would fall back on the Perl modules doing the same things but avoid the shell or missing quotes when invoking shell programs.
It might also help to construct test cases and open tickets for CPAN.