The language is intended to be practical (easy to use, efficient, complete) rather than beautiful (tiny, elegant, minimal). Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more. After all, in your journey as a programmer, you are likely to encounter different styles. Do not consider one style to be better than others - "There's More Than One Way To Do It" is one of Perl's mottos. Styles and techniques will therefore differ, although some effort has been made to not vary styles too widely in the same sections. Except where otherwise noted, you should assume that use strict and use warnings statements appear earlier in the "program", and that any variables used have already been declared, even if those declarations have been omitted to make the example easier to read.ĭo note that the examples have been written by many different authors over a period of several decades. These examples often reflect the style and preference of the author of that piece of the documentation, and may be briefer than a corresponding line of code in a real program. Please keep in mind that many of them are code fragments rather than complete programs. Throughout Perl's documentation, you'll find numerous examples intended to help explain the discussed features. ![]() You can read that documentation using the perldoc command or whatever method you're using to read this document. Throughout this document you'll see references to other parts of the Perl documentation. You are strongly advised to follow this introduction with more information from the full Perl manual, the table of contents to which can be found in perltoc. In some cases perfection has been sacrificed in the goal of getting the general idea across. It does not even aim to be entirely accurate. This introductory document does not aim to be complete. ![]() It is intended as a "bootstrap" guide for those who are new to the language, and provides just enough information for you to be able to read other peoples' Perl and understand roughly what it's doing, or write your own simple scripts. This document is intended to give you a quick overview of the Perl programming language, along with pointers to further documentation. ![]() Perlintro - a brief introduction and overview of Perl #DESCRIPTION
0 Comments
Leave a Reply. |