Perl: Not Just for Web Programming

  • Authors:
  • Mark-Jason Dominus

  • Affiliations:
  • -

  • Venue:
  • IEEE Software
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

Perl was invented by Larry Wall about 10 years ago. Wall, a computer programmer and linguist, combined his dual interests in Perl's design: He used his programming skills to create a language that was good at telling the computer what to do and his knowledge of linguistics to make that language easy to learn and use. Perl is sometimes perceived as a language limited to Web programming. However, as the box "Perl at Work" on the following page shows, Perl is a general-purpose programming language with many strengths-the biggest being in the area of string and data processing. Since most programs process strings or data or both, Perl works well for most programming, including system programming. It gives you access to C library functions for fine-grained control of files, processes, and network sockets, while at the same time handling the onerous details of low-level memory management and offering powerful built-in data structures. Perl also has advantages over other languages. It is much faster to write in than C, which makes it good for rapid prototyping. Perl can replace Unix shell scripting languages on Unix systems when you need to write a program quickly to do a small task. And it's faster than most other scripting languages because it's compiled in-stead of interpreted.