I need to write a script(let's say "123.pl") which can install itself as a ".exe" on Windows and as a process on Unix. Other multiple custom scripts make a call to this script 123.pl with various parameters and arguments aysnchronously/adhoc basis. I then need to write further code inside this script 123.pl which will process these parameters and arguments.
My question is, how can my script capture these arguments and process them, since my script will be called adhoc / asynchronously? Also, if there are two or three calls from other custom scripts simultaneously, there need to be as many instances of my script running and processing these parameters.
Many thanks in advance.