Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

by Loops (Curate)
on Nov 23, 2014 at 21:32 UTC ( #1108182=note: print w/replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1108182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-04-10 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?