Inline::Java::PerlInterpreter 0.52
Sponsored Links
Inline::Java::PerlInterpreter 0.52 Ranking & Summary
File size:
0.092 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
879
Date added:
2007-06-02
Publisher:
Patrick LeBoutillier
Inline::Java::PerlInterpreter 0.52 description
Inline::Java::PerlInterpreter is a Perl module used to call Perl directly from Java using Inline::Java.
SYNOPSIS
import org.perl.inline.java.* ;
class HelpMePerl {
static private InlineJavaPerlInterpreter pi = null ;
public HelpMePerl() throws InlineJavaException {
}
static private boolean matches(String target, String pattern)
throws InlineJavaPerlException, InlineJavaException {
Boolean b = (Boolean)pi.eval("" + target + " =~ /" + pattern + "/", Boolean.class) ;
return b.booleanValue() ;
}
public static void main(String args[])
throws InlineJavaPerlException, InlineJavaException {
pi = InlineJavaPerlInterpreter.create() ;
String target = "aaabbbccc" ;
String pattern = "ab+" ;
boolean ret = matches(target, pattern) ;
System.out.println(
target + (ret ? " matches " : " doesnt match ") + pattern) ;
pi.destroy() ;
}
}
WARNING: Inline::Java::PerlInterpreter is still experimental.
The org.perl.inline.java.InlineJavaPerlInterpreter Java class allows you to load a Perl interpreter directly from Java. You can then perform regular callbacks to call into Perl.
SYNOPSIS
import org.perl.inline.java.* ;
class HelpMePerl {
static private InlineJavaPerlInterpreter pi = null ;
public HelpMePerl() throws InlineJavaException {
}
static private boolean matches(String target, String pattern)
throws InlineJavaPerlException, InlineJavaException {
Boolean b = (Boolean)pi.eval("" + target + " =~ /" + pattern + "/", Boolean.class) ;
return b.booleanValue() ;
}
public static void main(String args[])
throws InlineJavaPerlException, InlineJavaException {
pi = InlineJavaPerlInterpreter.create() ;
String target = "aaabbbccc" ;
String pattern = "ab+" ;
boolean ret = matches(target, pattern) ;
System.out.println(
target + (ret ? " matches " : " doesnt match ") + pattern) ;
pi.destroy() ;
}
}
WARNING: Inline::Java::PerlInterpreter is still experimental.
The org.perl.inline.java.InlineJavaPerlInterpreter Java class allows you to load a Perl interpreter directly from Java. You can then perform regular callbacks to call into Perl.
Inline::Java::PerlInterpreter 0.52 Screenshot
Advertisements
Inline::Java::PerlInterpreter 0.52 Keywords
PerlInterpreter
PerlInterpreter 0.52
InlineJavaException
InlineJavaPerlInterpreter
Java
to call
directly from
used to
Perl module
Perl
string
target
directly
pattern
using
Inline::Java::PerlInterpreter
Bookmark Inline::Java::PerlInterpreter 0.52
Inline::Java::PerlInterpreter 0.52 Copyright
WareSeeker periodically updates pricing and software information of Inline::Java::PerlInterpreter 0.52 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Inline::Java::PerlInterpreter 0.52 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
Inline::Java lets you write Perl classes in Java and wrap/use existing Java classes. Free Download
Inline::Filters Perl module contains common source code filters for Inline Modules. Free Download
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. Free Download
Inline-Support is a Perl module created to support information for Inline.pm and related modules. Free Download
Inline::Select contains dynamic selection of ILSM for a package. Free Download
Inline::CPP is a Perl module that can write Perl subroutines and classes in C++. Free Download
Inline::Struct is a Perl module that manipulate C structures directly from Perl. Free Download
HTML::WikiConverter::Oddmuse is a Perl module that can convert HTML to Oddmuse markup. Free Download
Latest Software
Popular Software
Favourite Software