Skip to content

Commit

Permalink
Perlito5 - java - doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fglock committed Dec 2, 2019
1 parent 5af2e00 commit 8ae83ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README-perlito5-Java.md
Expand Up @@ -497,7 +497,7 @@ Calling a Perl subroutine from Java
ScriptEngineManager factory = new ScriptEngineManager();
ScriptEngine engine = factory.getEngineByName("Perl5");

Object o = engine.eval(" $x = 456; say 123 + $x; \"value was $x\" ");
Object o = engine.eval(" $x = 456; print 123 + $x; \"value was $x\" ");
System.out.println("result: " + o);
}
}
Expand Down

0 comments on commit 8ae83ad

Please sign in to comment.