Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^3: Passing Data Between Perl Programs

by Preceptor (Deacon)
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

Replies are listed 'Best First'.
Re^4: Passing Data Between Perl Programs
by jmmitc06 (Beadle) 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1043006]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-11-24 06:53 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (345 votes). Check out past polls.