aspose file tools*
The moose likes Java in General and the fly likes Perl & Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Perl & Java" Watch "Perl & Java" New topic
Author

Perl & Java

V Bose
Ranch Hand

Joined: Jul 10, 2003
Posts: 113
Is there a way I can execute Perl commands from within Java.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Yes-- use the Runtime.exec() methods to execute the perl interpreter.


[Jess in Action][AskingGoodQuestions]
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1817

Are you looking for a Java-PERL interpreter API, or just invoking PERL scripts as if from the command-line? If the latter, Runtime.exec() calls should work...

Argh! I've been EFH'ed
[ March 03, 2004: Message edited by: Joel McNary ]

Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

Originally posted by Joel McNary:

Argh! I've been EFH'ed

All part of my evil plan...
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Originally posted by Ernest Friedman-Hill:

All part of my evil plan...

Which one of them this time?


42
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Perl & Java