|Pathologically Eclectic Rubbish Lister|
Yes, I now recall this Inline->init(); trick having cropped up before - though I can't quite recall the context.
I had the impression from earlier postings in this thread that, wrt Inline::Java, it wasn't necessary to load a MyPackage.pm to strike the problem. Instead it was enough to merely load the Inline::Java module into another namespace (as per my Inline::C demo).
Perhaps that's not so - I don't currently have Inline::Java installed and therefore can't check that for myself.
Anyway, if Inline::C and Inline::Java aren't in exactly the same boat here, it looks like they're at least part of the same fleet ;-)
Hopefully Inline->init(); will solve the OP's problems.
Thanks for chiming in, Patrick !