in reply to Re^2: How to pass file paths in a master script which is used to run several perl scripts?
in thread How to pass file paths in a master script which is used to run several perl scripts?
If the provided filenames differ between separate child scripts:
You can pass the filenames via command line and simply iterate over @ARGV to process them. If the length of the command is getting too long then you could provide the filenames by piping them into the childprocess via STDIN. Or you can write a temp file in the parent script and provide the child scripts with the filename to read from.
|
---|