views:

148

answers:

2
+1  Q: 

Named Pipes IPC

I am trying to create a pipe to use between two processes to send information. The two process are not related and implementation with signals has a problem where if the process that recieves the signal is doing a sys command it intreprets the signal as an intrupt. I am new to perl so any help trying to have two processes use pipes would be really great!!

+2  A: 

The perl man page perlipc talks a bit about using named pipes.

Epsilon Prime
Also look at http://perldoc.perl.org/perlopentut.html#Pipe-Opens for unnamed pipes (like the "|" operator in the shell).
Yaakov Belch
A: 

You didn't mention any specifics as to your project, so this may be completely off of what you are trying to achieve but have you considered implementing sockets as your IPC mechanism? Again, I understand this may not make sense in the context of your particular project but it may allow you to create a process with the ability to communicate across a network instead of just one machine.

isolier