Thanks it works,Lets say if i fork 3-4 child processes and all of them write into the pipe,and on the parent side can i read at a time what all child processes wrote by doing a
@read_from_children = <$read>.
Looks it doesn't work.I still have to do a loop and read.