Category: Perl

Introduction to Perl 5

My image
  • Author: Selena Sol
  • Format: online HTML
  • Price: free

Suitable for those who already have some familiarity with Perl 4, this tutorial highlights the new features of Perl 5: A new data type: the reference; A new localization tool: the my keyword; Tools to allow object oriented programming in Perl; An object oriented based library system focussed around “Modules”; New shortcuts like “qw” and “=>”

Chapters include:

  • What is Perl 5
  • References
  • Creating References
  • Dereferencing a Reference
  • Anonymous References
  • Variable Localization
  • Introduction to Object Oriented Design Principles
  • Procedural-based Programming
  • Limitations of Procedural-Oriented Programming
  • Object-Oriented Programming
  • Objects
  • Encapsulation
  • Inheritance
  • Polymorphism
  • Object Oriented Design in Perl
  • Defining a Class
  • Instantiating an Object
  • Using Methods
  • Inheriting from a Class
  • Modules
  • Using Modules
  • Miscellaneous Constructs
  • Using “qw”
  • Using “=>”

Perl Programming

My image
  • Author: Wikibooks, the open-content textbooks collection
  • Format: HTML
  • Price: free

Perl is a programming language designed by Larry Wall, known today for its strong community and module archive CPAN. It was originally developed to process text and produce reports. As a result, a backronym has been formed from its name: Practical Extraction and Report Language. It makes extensive use of significant punctuation, and highly chaotic-looking code has been written in it. This has resulted in a less complimentary backronym (which is still embraced by Perl users): Pathologically Eclectic Rubbish Lister (said to be a quote from the language designer himself).

Perl is Free Software, available under the Artistic License and the GPL. It was developed on Unix, and its Unix roots are pervasive. Perl is available for most operating systems but is particularly prevalent on Unix and Unix-like systems, and is growing in popularity on Microsoft Windows systems. However, it has been ported to a multitude of environments (some say as many as Java). It’s a popular systems administration tool in Windows. Most of the things done in Perl transfer well from one operating system to another (provided suggested conventions are followed).

The book is a work in progress, and there may be incomplete or missing chapters.

Chapters include:

  • Editors and IDEs
  • First Program
  • Basic Variables
  • Strings
  • Numbers
  • Making choices: if and else
  • Doing things over and over: while and for loops
  • Operators
  • Variables
  • Data Types
  • Scalar Variables
  • Array Variables
  • Hash Variables
  • User I/O
  • Advanced Output
  • Filehandles
  • Statement modifiers
  • Functions
  • Perl 5.10 Additions
  • Exercises
  • Programming Structure and style
  • References and Data Structures
  • Regular Expressions
  • Regular Expression Operators
  • Regular Expressions Reference
  • Code reuse (modules)
  • Perl Objects
  • GUI and desktop programming
  • CPAN
  • DBI – Perl Database Interface
  • CGI
  • FastCGI
  • mod_perl
  • HTML::Mason
  • Perl 6
  • Humour
  • First example code to get you started
  • Second example code to get you started
  • Function Reference
  • Concept Index
  • Useful Modules
  • Quick-reference cards
  • Websites

CGI Programming on the World Wide Web

My image
  • Author: Shishir Gundavaram
  • Format: HTML
  • Price: free

This book offers a comprehensive explanation of CGI and related techniques for people who want to provide their own information servers on the Web. It starts at the beginning, explaining the value of CGI and how it works, then moves swiftly into the subtle details of programming.

Chapters include:

  • The Common Gateway Interface (CGI)
  • Input to the Common Gateway Interface
  • Output from the Common Gateway Interface
  • Forms and CGI
  • Server Side Includes
  • Hypermedia Documents
  • Advanced Form Applications
  • Multiple Form Interaction
  • Gateways, Databases, and Search/Index Utilities
  • Gateways to Internet Information Servers
  • Advanced and Creative CGI Applications
  • Debugging and Testing CGI Applications