I'm sure you've read "perldoc perlembed", but if you say it doesn't contain ALL needed information, maybe you should also consider sending patches to it?
I don't think I've ever seen ANY perldoc that covered all the obscurities necessary to get a solution working from beginning to end, especially compiling and linking in specific environments as was the major hurdle in this example.