Patrick LeBoutillier wrote:
> Also, you should be able to use string and Java objects as parameters. Look
> at the test scripts 2_primitives.t and 3_objects.t and you'll see that it
> works...
----8<----
use Inline Java;
JAxH->new->jaxh('Perl');
__END__
__Java__
class JAxH {
public JAxH(){ }
public void jaxh(String s) {
System.out.println("Just Another " + s + " Hacker");
}
}
----8<----
yeah baby!
, Brian
--
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'