home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
perl560.zip
/
jpl
/
PerlInterpreter
/
PerlInterpreter.java
< prev
Wrap
Text File
|
1999-09-14
|
383b
|
22 lines
class PerlInterpreter {
static boolean initted = false;
public native void init(String s);
public native void eval(String s);
// public native long op(long i);
public PerlInterpreter fetch () {
if (!initted) {
init("$JPL::DEBUG = $ENV{JPLDEBUG}");
initted = true;
}
return this;
}
static {
System.loadLibrary("PerlInterpreter");
}
}