Just as a quick check, are you running under sudo or as root while installing from CPAN? The permission denied looks a bit like what I would expect if I were running as a non-privileged user...
- ...the majority is always wrong, and always the last to know about it...
- ..by my will, and by will alone.. I set my mind in motion