in reply to Re^3: 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?

Nothing technically wrong with this, just a remark/reminder.

Passing a secret via the command line exposes the secret in the process list. Everybody with access to 'ps' or /proc/<pid>/cmdline can see the secret. (This may include some totally unrelated piece of software which logs the contents of 'ps -ef' for debugging/troubleshooting purposes.)

Yes, this is kinda obvious, but I wanted to put attention to it anyway.
  • Comment on Re^4: How to pass file paths in a master script which is used to run several perl scripts?

Replies are listed 'Best First'.
Re^5: How to pass file paths in a master script which is used to run several perl scripts?
by marto (Cardinal) on Oct 18, 2016 at 12:31 UTC

    $secret was a light hearted variable name, it should have just been $message. Obviously Bruce Wayne isn't Batman, how could he possibly keep up crime fighting at night while tending to the affairs of the Wayne foundation? (a Simpsons reference if you're unaware ;). Your point is valid however. See further down the thread were 20 or so paths are supposed to be getting passed to 50 different child scripts, and the suggestion using config files rather than passing anything in this manner.