note
tobyink
<p>It's possible to call Java code from Perl using [mod://Inline::Java]. An example module that does so is [mod://XML::Saxon::XSLT2].</p>
<p>There are similar inline modules for other programming languages - [mod://Inline::C], [mod://Inline::Ruby], [mod://Inline::Lua], etc.</p>
<p>The other way around - calling Perl from other programming languages - is also possible. Perl can be compiled as a library ("libperl") which can be embedded into C programs; and thus theoretically be called from any other programming language capable of linking against C libraries. There exists a <a href="http://pecl.php.net/package/perl">PECL module allowing Perl to be embedded in PHP</a>.</p>
<p>I don't think this would be a fruitful or indeed sane way of getting Perl running on Android though. Maybe look at <a href="http://code.google.com/p/perldroid/">perldroid</a>?</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-757127">
<small><small>
<tt>perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
</tt></small></small>
</div></div>
1006922
1006922