in reply to passing string/refs to run_on_finish with Parallel::ForkManager
Fletch is correct. Parallell::ForkManager just calls exit which eventually calls the underlying C library exit which accepts an int as a parameter. Traditionally 0 is for success and non-zero is failure. That being said, there's tons of apps out there that do more than return 1 -- it's up to you as the dev to map the integer exit value with some meaning.
|
|---|