Hey, Got the simple solution for the problem.
When you declare a common module do not define it as package and dont use any return 1; statement at the bottom.
exp:
#Code for common.pm
use strict;
use File;
use myCustom::abcmod;
....
...
...
#code for calling script
use common.pm;
that's all no need to define common module as a package. remove the top declaration of package common; and remove the return 1; it will work.
thanks.