in reply to How to install perl in custom directory on solaris.

Please review INSTALL as supplied with your Perl tarball. The documented invocation for Configure is

sh Configure -Dprefix=/opt/perl