Perl 5 Tutorial First Edition Chan Bernard Ki HongPerl is copyright by Larry Wall. Linux is a trademark of Linus Torvalds. Unix is a trk of AT&T Bell Laboratories. Perl 5 Tutorial First Edition Author: Chan Bernard Ki Hong (webmaster@cbkihong.com) Web site: http://www.cbkihong.com Date of Printing: December 24, 2003 Total Number of Pages: 241 APrepared from LT X source les by the author.E ' 2001 2003 by Chan Bernard Ki Hong. While the author of this document has taken the best effort in enhancing the technical accuracy as well as readability of this publication, please note that this document is released as is without guarantee for accuracy or suitability of any kind. The full text of the terms and conditions of usage and distribution can be found at the end of this document. In order to further enhance the quality of this publication, the author would like to hear from you, the fellow readers. Comments or suggestions on this publication are very much appreciated. Please feel free to forward me your comments through the email feedback form or the feedback forum on the author’s Web site.Contents 1 Introduction to Programming 1 1.1 What is Perl? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 A Trivial Introduction to Computer Programming . . . . . . . . . . . . . . . . . . . . 1 1.3 Scripts vs. Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.4 An Overview of the Software Development Process . . . ...