Regular Expressions in Java and Perl
The two main classes of the java.util.regex API are Pattern and Matcher. In the tutorial, you start by creating a java file, RegexTestHarness.java, that can be used to read in different regular expressions from the file regex.txt. The regular expression read from regex.txt is compiled into a pattern using the compile method of the Pattern class; the pattern is used to find instances that match the regular expression using the matcher method of the same class.
Read more
What Perl Programmers Should Know About Java
What should Perl programmers know about Java? It depends. Not knowing Java will not slow you down as a Perl programmer. However, Java is a popular and rapidly growing language, so there’s a good chance that you will find yourself using Java systems or writing applications that need to interact with them. In some situations, writing a Java application may be a good way to accomplish something that you cannot easily do in Perl.
Read more
Network Programming with Perl
Perl provides direct access to the C library routines for socket communication. Often, arguments and return values are constants defined in the C header files, or are data structures which Perl will pass in a packed binary format.
Read more