in reply to Error While installing perl
I suggest that you don't change or use the Perl which ships with your operating system, and install your own Perl else where. Your OS uses the system Perl for various system tasks, messing around with it can result in an unstable or broken system.
To achieve this either install via source which is as pretty easy, or use something like perlbrew to do the work for you.
Once you've done this use cpan rather than your OS package management to install modules. This will install each modules dependencies. See A Guide to Installing Modules from the tutorials section of the site.