Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Think about Loose Coupling
 
PerlMonks  

Re^3: Passing Data Between Perl Programs

by Preceptor (Chaplain)
on Jul 07, 2013 at 19:38 UTC ( #1043006=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Passing Data Between Perl Programs
in thread Passing Data Between Perl Programs

If it's a linear feed, you can probably use a FIFO pipe (assuming Unix, I don't know how easy it is on Windows). man mkfifo. Basically it's a file that exists purely as a place for ... well, once process to feed into and another to read out of. You use it by (once making it) by simply having one process open it for writing, and the other for reading.


Comment on Re^3: Passing Data Between Perl Programs
Re^4: Passing Data Between Perl Programs
by jmmitc06 (Acolyte) on Jul 30, 2013 at 04:36 UTC

    Thanks for the reply and sorry it took so long to respond, very busy at work. Yeah, I'm in unix and I used your approach and got it working in some test programs. It appears to do what I need and is a good alternative to IPC modules.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-04-18 23:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls