in reply to perl Data::Dumper'ed to C++

Another option would be to use any of the CORBA modules available (might be overkill, though). Also depends on the question if you want/need a type-safe or a type-less interface.

Christian Lemburg
Brainbench MVP for Perl
http://www.brainbench.com