master perl calling slave perl

In slave perl prog, there're some print codes. However, when the master perl calling the slave one by system(command), the slave perl print cannot be redirected to STDOUT. how to solve that?