Perl Basics
Introduction to Perl
FAQ's
CGI
Regular Expressions

PC Overview
Cool Stuff
My Modules
Success Stories
Links
Perl in the News
Logos

PC Internals
About
Contact
Handy Logos
What's new

Introduction to Perl

Perl is an interpreted language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information.
See also Warum Perl?
P-friendly

[ home ] - [ search ] - [ sitemap ]


Llamas

It's also a good language for many system management tasks. The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). It combines (in the author's opinion, anyway) some of the best features of C, sed, awk, and sh, so people familiar with those languages should have little difficulty with it (Language historians will also note some vestiges of csh, Pascal, and even BASIC-PLUS).

Expression syntax corresponds quite closely to C expression syntax. Unlike most Unix utilities, perl does not arbitrarily limit the size of your data -- if you've got the memory, perl can slurp in your whole file as a single string.

Recursion is of unlimited depth. And the hash tables used by associative arrays grow as necessary to prevent degraded performance. Perl uses sophisticated pattern matching techniques to scan large amounts of data very quickly.

Although optimized for scanning text, perl can also deal with binary data, and can make dbm files look like associative arrays (where dbm is available). Setuid perl scripts are safer than C programs through a dataflow tracing mechanism which prevents many stupid security holes. If you have a problem that would ordinarily use sed or awk or sh, but it exceeds their capabilities or must run a little faster, and you don't want to write the silly thing in C, then perl may be for you. There are also translators to turn your sed and awk scripts into perl scripts.

OK, enough hype.

Deutsche Kurzfassung



Further References

  1. raycosoft.com/rayco/support/perl_tutor.html (Perl)
    http://www.raycosoft.com/rayco/support/perl_tutor.html
    Perl recipes (2004-05-22 15:30)

  2. LAMPS.efactory.de/lamps-2-0... (CInternet:Webmaster)
    http://lamps.efactory.de/lamps-2-0.shtml
    LAMPS Tutorial. Kompilieren, Installieren und
    Konfigurieren eines LAMPS Servers. Apache 2.0, Mod_Perl,
    PHP, Mod_SSL, MySQL, PostgreSQL und PDFLib in wenigen
    Schritten und anhand von Beispielen (2003-01-24 15:56)

  3. JuicyStudio.com/tutorials.html (CInternet:Webmaster)
    http://www.juicystudio.com/tutorials.html
    Web Development, Extensible Markup Language (XML) Tutorial, Active Server Pages (ASP) Tutorial, Extensible HyperText Markup Language (XHTML), Wireless Markup Language (WML), JavaScript Tutorial, Java Tutorial, PHP Tutorial, MySQL Tutorial, Perl Tutorial, Cascading Style Sheets Tutorial, Flash Tutorial, HTML Web Safe Colour Codes, Browser Compatibility Chart (2002-07-14 21:19)

  4. Tutor.FHZH.ch/tutorials/perl-tutorial... (Perl)
    http://tutor.fhzh.ch/tutorials/perl-tutorial/perl_start.html
    Einführung in Perl (2002-07-07 16:57)

home - feedback - search

$Id: cms_doc_hype.htm,v 1.4 2004/04/18 00:13:01 reto Exp $
© 1998-2004 reto :)