The Solaris group is a forum where peers share technical expertise, solve problems, and discuss issues related to the Solaris operating system, including OS-related malfunctions, security issues, and network performance.

Thanks. I tried this but it didn't help me.The config.pm is in /usr/atria/sun5/lib/perl5 directory.
Then I included
@INC=push(@INC,"/usr/atria/sun5/lib/perl5");
in the perl script which is giving the same result as earlier

Hi,
The basic reason for this error is that -- @INC contains an array
of directories where your required modules will be searched. and since
it is not finding one it is throwing an error. By doing a push in @INC
u add that directory to the search path. If you notice this time it is
giving error for cwd.pm instead of Config.pm.
One crude way of solving this would be to place all the .pm's in one
directory and then add that directory to the @INC array. or each time
you will get an error for a pm and then you would need to add its
directory to @INC.