close $out or warn $!; s/.$/??? says the child/, print while <$in>; delete $kid{+wait} while %kid;