http://www.perlmonks.org?node_id=1047520


in reply to Issue with CPAN module not building

Is it the cast to SV* that's causing the error ?
If so, I'd try removing it and see what happens.

Cheers,
Rob