in reply to
Passing args to a subroutine reference
You need to store the $pid to $app relationship in a hash, then when you reap a child look up the $app in that hash.
Comment on
Re: Passing args to a subroutine reference
In Section
Seekers of Perl Wisdom