CGI and Perl
CGI and Perl
- Be sure to also check the links that follow this section.
- Stop by the Perl forum and join the discussion.
xref: Automatic Cross Referencing Script
Simple Comments Meets OpenID
Beginning with version .960, Simple Comments supports visitor logins using OpenID identifiers. In this article, I discuss some of the specific architectural and developmental considerations that went into the process of OpenID-enabling the Simple Comments system.
Simple Comments Release Notes: v.960
The number one change in this release is support for OpenID. Other enhancements include: HTML Header/Footer Templates, Article Locking, Support for Unique Display Names, Visitor CAPTCHA Bypass, User E-mails in Comments and more.
Perl Pragma Primer
Pragmas in Perl are specific instructions that we can embed in Perl code, depending on our needs and preferences, that allow our scripts to be compiled and behave differently than they would otherwise. In this article, we look at how pragmas work.
Simple Comments Release Notes: v.950
In this release, new features include key enhancements that allow visitors to register on your site and provide basic profile information for display to other site visitors.
Simple Comments Release Notes: v.930
This version of Simple Comments adds several new features, including optional CAPTCHA authentication on comment submissions, RSS format comment feeds and the ability for administrators to reply to a comment from directly within the comment approval screen.
Wicked Cool Perl Scripts
Programming in a CGI environment can be tricky. There's no built-in CGI debugger, and error messages can easily get lost or misplaced. Fortunately, there are options. Here are some Perl hacks you can use to help debug your CGI programs.
Getting and Giving Help: A Perl Documentation Primer
From time to time even the most experienced programmers get stuck, hence the need for effective help files. In this Perl primer, we look at the "Plain Old Documentation" (POD) included with the Perl distribution and embedded in practically all publically available Perl modules.
Perl as a (Better) Find Command: Part 2 - Arguments and Greps
Continuing our focus on find perl pipelines we begin by processing filename arguments. Additional topics are defending against grep's messes, recursive grepping, using findxargs vs. Perl alternatives, reliable timestamp sorting, multi-word filenames and more.
Perl as a (Better) Find Command
This week, our primary focus is on find perl pipelines that serve as functional enhancements to find and consider possible improvements to grep and sed-like programs. We begin by comparing find's file-testing capabilities with Perl's.
A common feature appearing on more and more Web sites is support for comment posting by users, which tends to appear at the bottom of a Web page or article. Our own Perl-based comment system is the focus of this article and you'll learn how to use this on static Web pages.
Introduction to Perl's Taint Mode
When writing scripts that others will run, it's essential to design your scripts defensively. Fortunately, Perl provides a built-in mechanism (called Taint Mode) to help you become more aware of potential security problems in your scripts.
Perl Subroutine Primer
This week we're going to examine the use of user-defined subroutines in Perl; blocks of code that can accept, operate on, and/or return variables and values that can be reused throughout your Perl script without needing to copy and paste it each time it's required.
Manipulating Files and Directories in Perl
This article takes a look at how to get a directory listing, how to create and remove files, how to create and remove directories and how to get information about files. By Sams Publishing.
Super Glue: Using Perl to Develop a Cheap Network Framework
Catch hackers, stop spyware, and be home by 5:00! Let Perl do the dirty work, and focus your time fixing problems rather than tracking down computers and users!
If you spend any amount of time on the Web, it's a pretty safe guess that you've heard of blogs. Basically, a blog is an online journal, but it's used for a wide variety of applications, such as businesses keeping their customers updated on current products, political topics, news blogs and more. This week, we look at Blosxom "pronounced blossom," a popular blogging script.
Build Your Own Geocoding Solution with Geo::Coder::US
Create a database allowing you to pinpoint the vast majority of mailing addresses throughout the United States, opening up the possibility to create any number of spatial applications.
Nested Data Structures--A Perl Primer
This week's article addresses the basic terminology, concepts and tactics that can be used in the creation of nested data structures in Perl. In Perl, such a structure is easily created and accessed; though to the novice the process may not be intuitive. Here's a taste of what's involved.
Introduction to Network Time Protocol
As a Web developer, you might need to synchronize servers accurately, either locally, or at a distance. At first glance, it seems simple, but not when you consider computer clock times, different time zones, etc. Enter the Network Time Protocol, or NTP. Among other things, NTP allows machines to synchronize their clocks. By Dan Ragle.
Perl Module Primer
In this article, we examine the basic building blocks and fundamental concepts that you need to know to begin writing and using your own Perl modules. Towards the end, We'll touch--very briefly--on extended topics such as autoloading and object classes.
Sending E-mail from your PHP Applications
Send e-mail (plaintext, attachments, HTML mail, even bulk mail) using PHP and the wonderful HTML Mime Mail class.
Automating Web-based Data Retrieval with Perl
Need a way to gather data without the help of Web Services? See how to automatically collect web-based data by utilizing page retrieval, authentication, and cookies using Perl.
Perl Medic: Transforming Legacy Code. Chapter 3. Pt. 2
Today, we delve deeper into testing Perl code. Topics include testing code as it's written, tweaking an existing application, using a top-down approach, testing that an application meets its requirements, and more.
Perl Medic: Transforming Legacy Code. Chapter 3. Pt. 1
Maintain, optimize, and scale any Perl software... whether you wrote it or not. Perl Medic is a start-to-finish guide to understanding that code, maintaining it, updating it, and refactoring it for maximum performance and reliability. By Addison-Wesley.
Learning Perl Objects, References & Modules
Learning Perl Objects, References & Modules picks up where Learning Perl leaves off. Topics include: packages and namespaces, references and scoping, manipulating complex data structures, object-oriented programming, writing and using modules and contributing to CPAN. By O'Reilly
Book Excerpt: Perl Graphics Programming, Pt. 3
Perl Graphics Programming. Using Unicode Text in SVG Images. The following is the conclusion of our series of excerpts from chapter 7 of the O'Reilly title, Perl Graphics Programming.
Book Excerpt: Perl Graphics Programming, Pt. 2
The following is a continuation of our series of excerpts from chapter 7 of the O'Reilly title, Perl Graphics Programming. Here, you'll see how SVG wraps up a sequence of high-level animation transformations in one of four animation tags, which describes how an object should be moved between two points, etc.
Book Excerpt: Perl Graphics Programming
While often relegated strictly to text handling tasks, Perl can also be used to create and manipulate graphics. Our new excerpt series focuses on the creation of SVG images in Perl and begins with a simple slide-show example. From O'Reilly.
Two Ways to Implement Session Tracking
Writing stateful applications in a stateless environment can be a challenge; but as guest author Kiran Pai explains, basic session tracking methods do exist that can be implemented with multiple CGI backends.
Visual Perl for Microsoft Visual Studio .NET
What does Perl hacker Jonathan Eisenzopf think of add-ons to other products? What does he think of Visual Perl, in particular, and will he ever write in Linux again? Read his review of Visual Perl, a plug-in for Microsoft Studio .NET, to find out.
Weaving Magic With Regular Expressions: Tracking FedEx and UPS Packages Online
Keep your customers on your site by providing self-service package tracking capabilities for Federal Express and/or UPS!
Automating Image Manipulation with GD
Put Perl to work; explore the concepts and techniques that can automate many image manipulation tasks.
Processing Text with Perl Modules
In the final article of this series on text processing, Jonathan takes a tour through a cornucopia of useful text processing modules that kick the tar out of some of those arduous text processing tasks.
Introduction to Input Validation with Perl
How can we make software that withstands malicious input attacks? We can start by minimizing the set of entities our software trusts and by vigorously validating all input.
Introduction to Perl on Windows
Although Perl may have been born and raised in the Unix universe, the world's favorite practical extraction and reporting language has had an established home on Windows for some time.
The Perl You Need to Know
This is a 25-part series covering all things Perl.
Mother of Perl
A free how-to devoted to all things Perl.