The Perl script is just another Unix executable. So you just have to call a shell command. [link|http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html|http://www.javaworld...w-1229-traps.html] verifies that it is possible to do that in Java. (Thanks Peter for finding that for me.)

If what you wanted to do was mix Perl and Java in the same layer, you might be able to do it with Inline::Java, but I wouldn't be too confident about that working well or easily.

If you want to get fancy, you could wrap the Perl up as a web service and call that from Java, but that just adds lots of overhead and complications to what should be simple.

Chers,
Ben