Ruby-Perl IPC messaging API (idea from SOAP)

  • Thread starter Rickard Sjostrom
  • Start date
R

Rickard Sjostrom

Hi!
I want to something like SOAP but with local IPC (dont want to use HTTP
and dont want to waste ports). In my case I want to be able to start
Perl-scripts from Ruby without having to parse some strange
self-invented text string from input/output to convert it to data
structures, but I could probably easily implement this with XML but it
would be nice if there exists some solution already.

I guess that this means that I want to convert data structures to and
from XML like SOAP does!

Is there anything like this that can do it for me?

/Rick
 
A

ara.t.howard

Hi!
I want to something like SOAP but with local IPC (dont want to use HTTP
and dont want to waste ports). In my case I want to be able to start
Perl-scripts from Ruby without having to parse some strange
self-invented text string from input/output to convert it to data
structures, but I could probably easily implement this with XML but it
would be nice if there exists some solution already.

I guess that this means that I want to convert data structures to and
from XML like SOAP does!

Is there anything like this that can do it for me?

/Rick

perl and ruby both speak yaml - why not use it - it will be far less pain.

-a
 
R

Rickard Sjostrom

unknown said:
perl and ruby both speak yaml - why not use it - it will be far less
pain.

-a


Thanks a lot! That's probably what I'm looking for and you've probably
saved me from that pain! I'll look into it now! Thanks again!

/Rick
 
M

Mike Fletcher

unknown said:
perl and ruby both speak yaml - why not use it - it will be far less
pain.

Just a note that if you do this you may want to use the Perl YAML::Syck
module. I've had minor problems with getting Ruby produced YAML
accepted by the older pure-Perl YAML module. Using YAML::Syck means
that both sides (Perl and Ruby) are sitting on top of the same
underlying C code and I haven't had problems since.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top