i have a perl that executes variable number of processes and stores the log files after each process..Depending on the scenario, there can be multiple log files.The script looks for certain error codes in all the log files and store them in an array.My question is is there any way to pass the array to another perl script as an argument while updating it after each file ? Basically what i am trying to achieve is to get the last updated error list and when the script runs the currently updated error list so that i can print the difference being the errors in the files formed currently.