In association with heise online

24 August 2009, 17:25

Android learns Perl

  • Twitter
  • Facebook
  • submit to slashdot
  • StumbleUpon
  • submit to reddit

In addition to Lua, Python, JRuby and BeanShell, Google's Android smartphone operating system now also speaks Perl. The current 0.11 release of the Android Scripting Extension (ASE) contains an interpreter for the time-honoured scripting language. Perl 5.10 was implemented at the beginning of August.

The ASE repository offers both a ZIP file with installable components and the source code tree. A mini example demonstrates how to use the included Android module to produce a standard greeting:

use Android;
my $a = Android->new();
$a->makeToast("Hello, Android!");

It remains to be seen how far the Android interfaces are supported. The already existing ASE languages Python and Lua still have their limitations.

See also:


Print Version | Send by email | Permalink:

  • July's Community Calendar

The H Open

The H Security

The H Developer

The H Internet Toolkit