I need to make RPC calls to a server from perl. I have the API and a demo JAVA client and also have what seems to be (according to the comments) an ONC / IDL compliant ".x" file.
In an ideal world I would perhaps use perlrpcgen - but I can't find a RPM for red hat linux 9.1 or get much info on it. It seems a very old module and maybe is deprecated now? Is there an alternative??
Is there anything I can do using the linux progs rpcgen and maybe h2xs? I assume this is set to link into C stuff, but maybe I can then link this with perl somehow?
I could do the really really ugly thing and write the client handling in java and then call this from my perl - but that just sucks from an elegance perspective. I suspect in reality what I am trying to do isn't that hard once you find the right CPAN modules to look at or can process the .x file into something sensible ... but as you can tell, I'm a little out of my depth.
Points for people who have actually done this before.