http://www.perlmonks.org?node_id=1006925


in reply to Re: Java programming and Perl
in thread Java programming and Perl

So let`s say I can make a libperl then call it like a C code with java native interface?

Replies are listed 'Best First'.
Re^3: Java programming and Perl
by tobyink (Canon) on Dec 03, 2012 at 18:45 UTC

    Yes - as I understand it, this is what perldroid does.

    perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'

      I`ll look at it ASAP. I am intermediate Perl user and I want to add it`s functionality to java programs so I guess it`s my choice.

      Thank you