From: Anders Selander Date: 2002-02-20T01:04:51+09:00 Subject: Re: Rinn and Perl CORBA::ORBit On Wed, Feb 20, 2002 at 12:17:50AM +0900, Paul Brannan wrote: > > ior = File::readlines("MyObject.ior") > readlines returns an array of lines. > > object = orb.string_to_object(ior) > string_to_object takes a string. > Hope this helps, Boy, do I feel stupid... Yes, 'orb.string_to_object(ior[0])' and 'orb.string_to_object(ior.to_s)' both solve the problem of the unsupported object reference. Unfortunately, I now get another error as Rinn fails to find the method of the simple idl: ./client.rb:16: undefined method `name' for # (NameError) However, given the above lesson, maybe I will find someother error if I carefully scrutinize the code further. ;-) Gratefully yours /Selander