#in my calling script system(qq(perl script2.pl @theArray));