Thank You Sir for your feedback
Right..
I am talking about the latter one.
Problem scenario is something like this.
A main process will create a queue,initialize head and tail. Now it will fork twice and create two other process. one of them will be responsible for enqueing and other is for dequeing, I had chosen fork to do this, i tried manipulating using reference.
So, Sir please suggest a way through which the queue can be shared among both forked process and changes made by one process should be visible by other process.
I am stuck at this, I dont want to use thread, for that i need to re-install my perl interpreter,(that i can not do).
Waiting for your reply...