Perl-scripts

On this page I will put some small Perl-goodies that I have created. If you do not know what Perl is, let me quote Larry Wall et. al. from their excellent Programming Perl:

»To those who merely like it, Perl is the Practical Extraction and Report Language. To those who love it it is the Pathologically Eclectic Rubbish Lister. And to the minimalists in the crowd, Perl seems like a pointless exercise in redundancy. But that's okay. The world needs a few reductionists (mainly as physicists). Reductionists like to take things apart. The rest of us are just trying to get it together«.

Perl is a scripting language, but provide all the tools for writing complicated tools for many tasks. As Larry Wall puts it: »Perl is designed to make the easy jobs easy, without manking the hard jobs impossible«. Some people say Perl was mainly written to replace the use of sed and awk in unix scripting. While perl definetely provides everything you would need for these tasks, Perl can also do anything-else(TM).

I must admit I have become quite fond of Perls abundance of ways to express certain operations. The easy processing of data from files or stdin allows all the small customized text search/replace/sort-things to be expressed easily. Unfortunately the many ways of expressing things in Perl also means that it can be difficult to read other peoples code (or even your own, when you haven't looked at it for a while). I would therefore say that lerning to program perl is not very hard, but learning to understand Perl can be quite a bit harder, which I guess is mostly opposite of other programming languages.

Last updated: 2005.04.29