Given the highly OO nature of Java's new regex classes, they take far more lines of code to do the same thing as a Perl regex (not to mention that ?{ } isn't quite Perl Compatible :). Calling the Perl code without shelling-out will almost certainly be easier than dealing with Pattern.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
:(){ :|:&};:
Note: All code is untested, unless otherwise stated
In reply to Re: Re: Calling perl from java
by hardburn
in thread Calling perl from java
by fletcher_the_dog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |