First,
is the same thing asmy $curlResult = `echo $?`; chomp($curlResult);
my $curlResult = $?;
Second, $? doesn't contain the exit code. Well, not just the exit code. See its documentation.
In reply to Re^5: Parallel::ForkManager run_on_finish Canot get Exit Code of Child process
by ikegami
in thread Parallel::ForkManager run_on_finish Canot get Exit Code of Child process
by anshumangoyal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |