If you want to glue that many objects to the javascript interpreter, I think JavaScript::SpiderMonkey is going to be a big pain in the ass. From looking at the docs, JE should be easier to use (plus, it's pure perl so it will be easier to run anywhere and probably easier to hack).
None of the javascript modules that I know can take a random perl object and just import it into the interpreter. You will have to define the interface for all of them. With JE::Types at least it seems like you can do that with reasonable ease.
| [reply] |