With acdk_perl, you can instrument a perl interpreter inside of your acdk application and you are able to have access to all ACDK-Objects in your perl environment.
sub foo($$) { my ($string1, $string2) = @_; my $sb = pacdk::new("acdk/lang/StringBuffer", $string1); $sb->append($string2); return $sb->toString(); } pacdk::peek_static("acdk/lang/System", "out")->println(foo("Hello Perl ", "from ACDK")); |
RAPerlInterpreter pi = new APerlInterpreter(); pi->parse("print(\"Hello Perl\");\n"); pi->run(); |
Sub chapter pages: ACDK Perl (acdk_perl)With acdk_perl, you can instrument a perl interpreter inside of your acdk application and you are able to have access to all ACDK-Objects in your perl environment. Instruction how to compile and run acdk_perl. The acdkperl executable is just a smal wrapper to the embedded acdk Perl interpreter. acdk_perl_man contains an interface to an perl interperter and the DMI code to script ACDK objects from perl code. ACDK General installation notice This is a generic installation for ACDK packages. ACDK is available under the LGPL license. |