bash-2.03$ perl test.pl Scalar of array 1 =9 Scalar of array 2 =9 bash-2.03$