in reply to [Solved]: How to install modules for local perl without changing anything on system perl?

So I think if I use cpan for the local perl then it should install modules for itself rather than system perl, but not 100% sure about it.

You're right, and you can be sure about it. When you run /usr/bin/perl -V you'll see the directories that will be affected by installing modules via /usr/bin/perl -MCPAN -e shell

Likewise, when you run /opt/apps/perl/perl5220/bin/perl -V you'll see the directories that are affected when you run CPAN via this instance of perl.