in reply to Re: Re: COPE and 'any' data type
in thread COPE and 'any' data type

Ok figured it out. One of the members of MyData was also an Any. This was not being set correctly.

So the solution was

my $anyData = new CORBA::Any($MyModule::MyData::_tc, $struct).

Thanks fever. You got me on the right track.