in reply to Inserting one script's info into another script's output

I don't really have a good handle on what you want to do or really the timing of the whole operation. Having child.pl do something while main.pl is executing seems a little odd.

Why not call a routine (the code in child.pl) that returns "Something" or "", and act on that?

--t. alex

"Nyahhh (munch, munch) What's up, Doc?" --Bugs Bunny