in reply to Passing arguments

As others have suggested, there are several hazards you will encounter when trying to pass parameters using the shell (system call).

Some of these are:

For a more general solution, you may want to consider using the storable Module, which can be used thus:

#In Calling program use Storable; store(\@array, "filename"); # later , in Called program .. $aref = retrieve("filename"); # Get a ref or @array = @{ retrieve("filename") }; # direct into array
"When you are faced with a dilemma, might as well make dilemmanade. "