http://qs321.pair.com?node_id=1108182


in reply to Re^2: Replacing builtin macro languages with perl -- how difficult?
in thread Replacing builtin macro languages with perl -- how difficult?

The examples in that page are toys, but show the way to do what you want. Consider again Calling Perl from C. You don't have to restart Perl every time as in the example, just leave it there and call into it any number of times passing in data to operate on as you like.

But maybe you're not really thinking of having Perl available inline and callable like that. If you just want to access Java from your Perl code, take a look at Inline::Java where you can write bridge code in Java that make whatever you want available to your Perl modules.

  • Comment on Re^3: Replacing builtin macro languages with perl -- how difficult?