The Slashdot Interview With Larry Wall

Slashdot runs the interview with Larry Wall, the creator of Perl programming language.  There is a wide variety of questions.  Some are technical – about Perl 6, comparison to other programming languages (Python, PHP), Perl in the browser, etc.  Some are more generic – what kind of tools Larry uses, and what are his thoughts on English being lingua franca of the computer world.  The answers are often funny, yet very insightful.

RT initialdata and Perl’s nested map

Request Tracker (aka RT) comes with a very powerful, yet not too widely known tool – initialdata.  This helps with automating configuration of the new system and data migration.  Combined with the power of Perl’s map() function, some really awesome things can be done in a jiffy.

Here is a snippet I’ve used recently, to set a list of access rights to a list of queues:

push @ACL, map {
  my $queue = $_;
  map {
    {
      GroupDomain => 'SystemInternal',
      GroupType => 'Everyone',
      Queue => $queue,
      Right => $_,
    }
  } qw(
    CreateTicket
    ReplyToTicket
  )
} qw(
  dpt-Support-EN
  dpt-Support-RU
  dpt-Support-FR
);

Mail::RFC822::Address: regexp-based address validation

This is pure gold!  Check out the regular expression for an RFC822 email address validation. I’m not going to paste it here, being concerned that it will open the gates of hell or something, but here is a sneak preview of about the first third or so.

regex

List of minimalist web frameworks

List of minimalist web frameworks

  • Framework for CSS
  • Web Framework for C
  • Frameworks for Front-end JS
  • Web framework for Go
  • Web framework for Haskell
  • Web framework for Java
  • Web framework for Javascript
  • Web framework for Lua
  • Web framework for Node.js
  • Web framework for Perl
  • Web framework for PHP
  • Web framework for Python
  • Web framework for Ruby
  • Web framework for Scala
  • Web framework for .NET (C#)

SL4A – scripting layer for Android

SL4A – scripting layer for Android

Scripting Layer for Android (SL4A) brings scripting languages to Android by allowing you to edit and execute scripts and interactive interpreters directly on the Android device. These scripts have access to many of the APIs available to full-fledged Android applications, but with a greatly simplified interface that makes it easy to get things done.

Scripts can be run interactively in a terminal, in the background, or via Locale. Python, Perl, JRuby, Lua, BeanShell, JavaScript, Tcl, and shell are currently supported, and we’re planning to add more.