 |
Basic Perl Tutorials
(pageresource.com) This is a nice little collection of tutorials for the basics of Perl featuring those many useful little tasks that beginners and veterans alike can use a reference for. The individual tutorials with source code include: Output, Variables, Operators, Conditionals, Loops, Arrays, Hashes, Manipulating Strings, Reading and Writing Files, Reading Directories, Using CGI.pm and Environment Variables. Hey it's always handy to be able to look up the basics - especially when you work in 7 or 8 different languages in any given week.
[ Covers: open read write close chop chomp hash associative arrays print substr length for foreach while ]
|
 |
 |
Perl Scripts on Internet Information Server (v1.x - 3.x+) - How to Install and Configure
It's quite easy to run Perl scripts on a Windows IIS Web Server. This is a concise how-to which explains how to map the .pl file extension to be executed by the ActiveState Perl Interpreter.
Look for other links on this site which go into greater detail and cover later versions of IIS. This is for a pretty old version of IIS but some of the info might still be helpful.
[ Covers: perl cgi iis map extension execute activestate .pl .cgi win32 windows script enable install ]
|
 |
 |
PERL on IIS 4 or 5 - How to Install and Configure
A concise article on how to install and configure ActiveState Perl onto IIS 4 or 5 and configure IIS to map .pl or .cgi file extensions to execute via the Perl Interpreter. It covers the performance benefits of optionally executing via the ISAPI extension PerlIIS.dll instead of perl.exe (read the caveat - it's actually more secure but some script errors can bring down IIS itself.)
[ Covers: perl cgi win32 windows server iis activestate master properties .pl .cgi ntfs permissions PerlIIS.dll ISAPI extension ]
|
 |
 |
CPAN - Comprehensive Perl Archive Network
The original and ultimate source for hundreds if not thousands of Perl modules for doing anything under the sun. It's all Open Source. From complex applications and the essential Perl libraries to an unlimited number of useful little parsers and algorythms - if you do Perl you should use CPAN as much as possible. You will learn a lot just by looking through what is available.
[ Covers: perl open source source code modules libraries free software algorythms converters ]
|
 |
 |
Why Perl Sucks - All Languages Have Flaws - Here Are Some of Perl's
(OK, neither the author of the article nor the author of this review actually think that Perl sucks - Perl is one of the best languages for a huge number of purposes - but this is a good article.) As loved and revered as Perl is, and as strong a reputation as it has earned over some 17 years of use for major commercial applications - it is not perfect. This article takes a good look at some of the areas where Perl could be improved. Perl 6 is supposed to address some of these issues. Some would argue that some of these purported flaws are actually features. It's a matter of opinion.
[ Covers: perl problems object inheritance perl 6 improve reference counting circular references memory leaks constant reference type autovivification garbage collection performance problem language ]
|
 |
 |
Programming the Perl DBI - Chapter 4 of the Authoritative O'Reilly Book on the Perl DBI
(developer.com) One of the authoritative texts on the subject of interfacing Perl with all the major database engines smoothly and easily via the powerful DBI module. This is perhaps the most useful chapter in this must-have book, reproduced here in it's entirety. Perl programmers, keep this link handy just in case you don't have your copy of the book with you.
[ Covers: perl dbi dbd dbh-> dbh handle database connection row oracle informix postgress mysql mssql msql sybase db2 csv connect fetch dsn data source name disconnect ]
|
 |
 |
Test::More - A Preferred Unit Testing Framework and Utilities (perldoc)
(perldoc.org) This is the perldoc documentation and it is relatively detailed. The Test::More module provides fairly comprehensive testing utilities for your Perl code. Various ways to say "ok" with better diagnostics. It has facilities to skip tests, test future features and compare complicated data structures. It is a preferred Unit Testing Framework.
[ Covers: Test::More unit test software test perl qa diagnostics Test::Simple no_plan Test::Harness plan() tests ok is isnt fail pass like unlike cmp_ok can_ok isa_ok use_ok require_ok is_deeply diag ]
|
 |
 |
Perl Object Oriented Programming - Fundamentals Tutorial
(codeproject.com) Add this tutorial to your collection covering the fundamentals of Object Oriented Programming in Perl. Some things which may be difficult to master lend themselves to repetittion and alternative perspectives as you learn to understand them innately, such as OOP techniques. This is another good tutorial to solidify your Perl OOP basics.
[ Covers: perl oop object oriented programming object class inheritance method encapsulation @ISA isa use strict my $self bless self return $self our strict constructor sub new package namespace ]
|
 |
 |
How to Avoid Writing Code - Class::DBI and "Template Toolkit" Combine Naturally
(perl.com) A Sophisticated technique which will do amazing things to save headaches and time when developing complex databased web or other applications in Perl. A great practical example of how to use DBI with the simple database abstraction layer, Class::DBI. This is a common use of Template Toolkit with some classier database handling. This could be an important part of the recipe for your commercial-scale, Perl or mod_perl-driven web app.
[ Covers: dbi class::dbi template toolkit web application database application database abstraction layer DAL practical example tutorial with source code connect connection method handle ]
|
 |
 |
Class::DBI (CPAN) - A Database Abstraction Layer (DAL) for the Perl DBI
(cpan.org) This is the tutorial, example code and documentation on the CPAN site. Class::DBI is a simple database to object mapping layer, which can be used to implement several higher order database functions (triggers, referential integrity, cascading delete etc.), at the application level, rather than at the database. If you desire solid architecture for your web application you will need to use something like Class::DBI. It will make it easier for you to employ 'best practices' when working with relational databases.
[ Covers: class::dbi dbi wrapper database abstraction layer data abstraction layer DAL dbi class connection ]
|
 |
 |
Modules in Perl: Using, Writing and Improving Them
(informit.com) A discussion of Perl packages and modules. Packages allow us to place variables and subroutines in a namespace hierarchy which is part of the foundation of a module. Modules are the unit of code reuse in Perl. This article discusses how to use modules, how to write them, and how to improve them.
[ Covers: pakage module namespace reuse object oriented programming method inherit inheritance @ISA use require ]
|
 |