Perl

From JVMLanguages

Programming Language
Type Imperative
Scope Scripting
Table of contents

Summary

Perl is one of the oldest and most mature of the scripting languages.

Advantages

  • Perl has a very large repository of open-source modules called CPAN (http://search.cpan.org/), which provides modules to do anything from database queries (http://search.cpan.org/modlist/Database_Interfaces) and GUI development (http://search.cpan.org/modlist/User_Interfaces) to calculating baseball statistics (http://search.cpan.org/~victor/Baseball-Sabermetrics-0.01_01/lib/Baseball/Sabermetrics.pm).
  • Perl's Inline (http://search.cpan.org/author/INGY/Inline-0.44/Inline.pod) module provides support for embedding other languages inside of Perl source code.

Java Integration

  • JPL was an early attempt by Larry Wall to integrate Java and Perl.
  • BSFPerl can act as a transparent bridge between a Perl interpreter and a Java VM.
  • The Inline::Java Perl module can executed Java code from within Perl code.

Examples

External Links