in reply to Perl Forking : perform some action until child process dies

maybe you should look into threads?
use threads; my $thr = async{ &download_a_file(); }; &calculate_network_bandwidth() while($thr->is_running()); $thr->join();
but you might need use threads::shared if there are any shared variables.