# Ruby-Perl IPC messaging API (idea from SOAP)

**URL:** <https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715>\
**Category:** Ruby\
**Created:** [August 7, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715 "2006-08-07T16:55:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rickthemick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rickthemick](https://www.ruby-forum.com/u/rickthemick)\
**Post date:** [August 7, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715/1 "2006-08-07T16:55:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![rickthemick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rickthemick](https://www.ruby-forum.com/u/rickthemick)\
**Post date:** [August 7, 2006, 5:06pm UTC](https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715/2 "2006-08-07T17:06:41Z")

</div>

On Mon, 7 Aug 2006, Rickard Sjostrom wrote:

> 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

---

<div class="post-metadata">

**Author:** ![rickthemick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rickthemick](https://www.ruby-forum.com/u/rickthemick)\
**Post date:** [August 7, 2006, 5:22pm UTC](https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715/3 "2006-08-07T17:22:40Z")

</div>

unknown wrote:

> On Mon, 7 Aug 2006, Rickard Sjostrom wrote:
> 
> > 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

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

---

<div class="post-metadata">

**Author:** ![rickthemick](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/6bbea6/32.png) [@rickthemick](https://www.ruby-forum.com/u/rickthemick)\
**Post date:** [August 7, 2006, 9:25pm UTC](https://www.ruby-forum.com/t/ruby-perl-ipc-messaging-api-idea-from-soap/101715/4 "2006-08-07T21:25:21Z")

</div>

unknown wrote:

> 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.
