It's trying to install the module somewhere you don't have permission, so you simply need to tell the CPAN module to install it somewhere else. You can either set up an appropriate configuration file, as
pc88mxer describes, or else set the
PREFIX environment variable to tell the CPAN module where you want it to install the module. See
Re^2: Perl module for a sample script.