#in my reciving script my @RecivedArray; if ($#ARGV != 0) { die " no argument was passed\n"; } @RecivedArray = $ARGV[0];