You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Charlie Smith <Sm...@ldschurch.org> on 2003/06/09 15:34:04 UTC
PERL/java interface available?
Would anyone happen to know if there is a PERL/java interface where these two languages could talk to each other?
Charlie
------------------------------------------------------------------------------
This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed.
==============================================================================
Re: PERL/java interface available?
Posted by "Beau E. Cox" <be...@beaucox.com>.
----- Original Message -----
From: "Charlie Smith" <Sm...@ldschurch.org>
To: <mo...@perl.apache.org>
Sent: Monday, June 09, 2003 3:34 AM
Subject: PERL/java interface available?
Would anyone happen to know if there is a PERL/java interface where these
two languages could talk to each other?
Charlie
Hi Charlie:
Check out the 'Inline' modules on CPAN:
http://search.cpan.org/author/INGY/Inline-0.44/Inline.pod
You also may want to look at SWIG at:
http://www.swig.org/
I have used Inline::C and SWIG for c and c++, but not for
java; but they say they work...
Aloha => Beau;
PS: The 'Inline' modules are neat because your code is just
that - inline; it's easier to see what's going on.
Re: PERL/java interface available?
Posted by Mark Hawkes <ha...@onetel.net.uk>.
At 07:34 2003-06-09 -0600, you wrote:
>Would anyone happen to know if there is a PERL/java interface where these
>two languages could talk to each other?
Java can call any native function that's packaged in a dso or dll. (But is
it possible to compile Perl modules to standalone dso?) Did anyone mention
B::JVM::Jasmin or JPL? See links below...
-Mark
-----
Porting Perl to the Java Virtual Machine
http://www.ebb.org/bkuhn/writings/technical/thesis
More about JPL
http://www.oreilly.com/catalog/prkunix/info/more_jpl.html
Java Native Interface Tutorial
http://java.sun.com/docs/books/tutorial/native1.1/