in reply to Why Perl

Perl is often used where text and strings are processed. It has much more comfortable string processing than C, built-in powerful regular expressions and many other handy features.

That makes it useful for system administrators, web programmers, biologists (DNA is often stored as a large string, after all) and many other people.

Some people who love the language also use it for many other task, because they find some of its unique features very convenient:

Replies are listed 'Best First'.
Re^2: Why Perl
by JavaFan (Canon) on Feb 01, 2010 at 13:26 UTC
    In Perl + is always addition, and concatenation has a different operator
    Except when it isn't. Blessed types can overload operators - and then it's the type of the operand(s) that determine what's going to happen.
    the symbol determines the operation, not the type
    Except when it doesn't. | and & do behave differently depending on their operands - and it's more complicated than whether it's a number or a string; it'll depend on some internal flag. But more important is the context. Some operators behave wildly different in scalar and list context - but they have the same symbol(s).
      Except when it isn't. Blessed types can overload operators - and then it's the type of the operand(s) that determine what's going to happen.

      That's true. Since Perl is a quite mutable language, you can always shoot yourself and other in the foot with modules.

      the symbol determines the operation, not the type
      Except when it doesn't.

      Sure, there are unfortunate exceptions. As far as I can tell they have been removed in Perl 6.

      Perl 6 - links to (nearly) everything that is Perl 6.