 |
 |
 |
 |
 |
 |
Cultured Perl: Flickr, a business's bst frnd
Flickr isn't just for photo sharing and social networking; it's a
legitimate business tool. Learn how Perl programmers can use the CPAN Chart
modules to create charts and graphs, and the Flickr::Upload module to upload
the charts to Flickr.
|
 |
Articles |
 |
24 Nov 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 5
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this final installment, examine the full mod_perl site's
templates, including one for indexing, three for uploading (general, S3 forms,
and URL additions), one for image and comment browsing, and one to browse
comments recursively for an image (or threading down).
|
 |
Articles |
 |
23 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 3
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, follow your site's interaction with
SimpleDB by learning how the URL creates a SimpleDB record for the uploaded
file. Also learn how to create, edit, and delete comments as SimpleDB records
on a photo for a particular user.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 4
This five-part series walks you through building a simple photo-sharing
Web site using Perl and Apache to access Amazon's Simple Storage Service (S3)
and SimpleDB. In this installment, examine the full mod_perl site's code base,
including how to configure the top level, what to do with the handlers, and
how to set up external dependencies.
|
 |
Articles |
 |
14 Jun 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 2
This five-part series walks you through building a simple
photo-sharing Web site using Perl and Apache to access Amazon's Simple Storage
Service (S3) and SimpleDB. In this installment, learn how to upload a file
into S3 from a Web page through an HTML form to minimize the load on the
server, while maintaining a tight security policy.
|
 |
Articles |
 |
08 Apr 2009 |
|
| |
Cultured Perl: Perl and the Amazon cloud, Part 1
This five-part series walks you through building a simple
photo-sharing Web site using Perl and Apache to access Amazon's Simple Storage
Service (S3) and SimpleDB. In this installment, get a feel for the benefits and
drawbacks of S3 and SimpleDB by taking a tour of their
architectures and starting to design your photo-sharing site.
|
 |
Articles |
 |
31 Mar 2009 |
|
| |
Cultured Perl: Perl books, Part 2
Take a look at two divergent texts on system administration. Unix Power Tools, by Shelley Powers, Jerry Peek, Tim O'Reilly, and Mike Loukides, covers the basics in a sound, readable manner and is a must-have book for any sysadmin. Analytical Network and System Administration by Mark Burgess is an advanced take on systems administration for those with a solid grounding in theoretical computer science and mathematics.
|
 |
Articles |
 |
13 Apr 2006 |
|
| |
Cultured Perl: Perl books, Part 1
Take a tour of two solid additions to any Perl library, the beginner-oriented Randal Schwartz's Perls of Wisdom by Randal Schwartz, and the more advanced Higher-Order Perl by Mark Jason Dominus.
|
 |
Articles |
 |
15 Mar 2006 |
|
| |
Cultured Perl: Perl polishes its Unicode support
Although Perl 6 with its promised Unicode support is right around the corner, the Unicode features built into Perl 5.8.6 are reason enough to get started writing localized apps. Using his preferred editor, Yudit, Ted shows how Perl can read, interpret, and manipulate UTF-8-encoded Unicode.
|
 |
Articles |
 |
15 Sep 2005 |
|
| |
Cultured Perl: Use IMAP with Perl, Part 2
Ted returns to the subject of accessing IMAP with the Mail::IMAPClient by looking at ifrom.pl as an alternative to other IMAP and POP3 mail checkers. This time around Ted covers tunneling (or port forwarding as it is sometimes called), as well as applying the script to the Maildir mail-storage format.
|
 |
Articles |
 |
19 May 2005 |
|
| |
Cultured Perl: Complex layered configurations with AppConfig
AppConfig shines as a way of configuring applications in Perl in the simple cases, but occasionally you need more power in command-line processing and configuration-file parsing. Instead of using data formats such as XML or YAML, you can apply a little extra effort and alter AppConfig so it can process complex command-line switches to create multi-level hashes.
|
 |
Articles |
 |
31 Mar 2005 |
|
| |
Cultured Perl: Embedding Perl in database tables
In this installment, Ted looks at Perl and databases. Specifically, he works with the Class::DBI CPAN module and MySQL to introduce you to embedding Perl in database tables.
|
 |
Articles |
 |
09 Mar 2005 |
|
| |
Cultured Perl: Perl 6 grammars and regular expressions
Perl 6 is finally coming within reach. In this article, Ted gives you a tour of the grammars and regular expressions of the Perl 6 language, comparing them with the currently available Parse::RecDescent module for Perl 5. Find out what will be new with Perl 6 regular expressions and how to make use of the new, powerful incarnation of the Perl scripting language.
|
 |
Articles |
 |
02 Nov 2004 |
|
| |
Cultured Perl: Genetic algorithms simulate a multi-celled organism
Based on the Darwinian principle of survival of the fittest, genetic programming uses mutation and replication to produce algorithms for creating ever-improving computer programs. In this third installment on genetic algorithms, Ted picks up where he left off last time, with instructions on how to simulate a multi-celled organism.
|
 |
Articles |
 |
13 Oct 2004 |
|
| |
Cultured Perl: Fun with the Ion window manager
Take a look at the Ion windows manager, a powerful and simple program that manages the windows that applications bring up on your desktop. Ion isn't flashy, but once you get used to it, it can greatly enhance your productivity and make you wonder why you ever used those other window managers.
|
 |
Articles |
 |
29 Sep 2004 |
|
| |
Cultured Perl: Managing Linux configuration files
The average developer spends more time navigating, learning, and debugging configuration files than you'd expect. But you can save that time -- and loads of energy and frustration -- with one of the tools you probably use every day: your CVS tree. Take these tips on backing up, distributing, and making portable your peskiest Linux (and UNIX) config files.
|
 |
Articles |
 |
10 Jun 2004 |
|
| |
Cultured Perl: Three essential Perl books
In this installment, Ted reviews three Perl coding books, bringing you summaries of the key information contained in the books and how the new versions have been updated.
|
 |
Articles |
 |
13 May 2004 |
|
| |
Cultured Perl: Fun with MP3 and Perl, Part 2
Ted continues his look at manipulating and guessing MP3 tags with Perl, FreeDB, and various CPAN models via his autotag.pl application.
|
 |
Articles |
 |
27 Jan 2004 |
|
| |
Cultured Perl: Fun with MP3 and Perl, Part 1
Every self-respecting computer and music fan needs to be able to manipulate MP3s -- the defacto standard for recreational digital music use. In this article, Ted looks at ways to manage and manipulate MP3s (searching, tagging, renaming, commenting, etc.) using the autotag.pl application. Ted takes you through the application, illustrating how CPAN modules enable the application.
|
 |
Articles |
 |
11 Dec 2003 |
|
| |
Cultured Perl: Inversion lists with Perl
Inversion lists are an essential part of any Perl programmer's toolkit, especially for those who deal with ranges and Unicode. In this article, Ted explains inversion lists, illustrated by a Perl implementation that he wrote and put on the CPAN network, and shows how inversion lists can be used to compress normal data in addition to bit strings.
|
 |
Articles |
 |
08 Oct 2003 |
|
| |
Cultured Perl: Use IMAP with Perl
Ted introduces you to accessing IMAP with the Mail::IMAPClient CPAN module. Using Mail::IMAPClient, he built the ifrom utility as an alternative to other IMAP and POP3 mail checkers. ifrom has its own unique advantages that can be used for listing, printing, and moving messages on an IMAP server, and backing up IMAP mail.
|
 |
Articles |
 |
19 Jun 2003 |
|
| |
Cultured Perl: One-liners 102
From printing a range of lines to listing a file's contents in reverse order, Ted shows how to do more with less using these succinct, one-line Perl scripts.
|
 |
Articles |
 |
12 Mar 2003 |
|
| |
Cultured Perl: Tied variables
Ted explains the basics of tying variables, using concrete examples of CPAN modules through their usage and implementation. He covers scalar, array, and hash variables.
|
 |
Articles |
 |
01 Jan 2003 |
|
| |
Cultured Perl: Genetic algorithms, the next generation
This article takes you another step towards working with genetic algorithms in Perl, working with a listing that looks for a set of dictionary words in an individual's DNA.
|
 |
Articles |
 |
01 Oct 2002 |
|
| |
Cultured Perl: Application configuration with Perl, Part 2
File-based configurations break down quickly if a hand-built method is used. In this article, Ted shows how the AppConfig module can handle local configuration storage. He examines advanced features of the AppConfig module: validation, autoaction, modifying hash and array variables, and radio button-style mutually exclusive options.
|
 |
Articles |
 |
01 Jul 2002 |
|
| |
Cultured Perl: Intro to cfengine for system administration
Cfengine (configuration engine) is a UNIX administration tool that aims to make the easy administrative tasks automatic, and the hard tasks easier. Its goal is system convergence from any state towards an ideal state. According to its author, Mark Burgess, cfengine always brings your system closer to the configuration you have defined; it never makes it worse. In this article, Ted acquaints you with this unique system administration tool by demonstrating some simple uses of cfengine.
|
 |
Articles |
 |
01 Feb 2002 |
|
| |
Cultured Perl: Reading and writing Excel files with Perl
Only recently have the doors been open to Microsoft Excel, the most popular spreadsheet application for the desktop. This article takes a look at reading and writing Excel files in Windows and Linux, using Perl and a few simple modules. The author of this article, Teodor Zlatanov, is an expert in Perl who has been working in the community since 1992 and who specializes in, among other things, open source work in text parsing.
|
 |
Articles |
 |
01 Sep 2001 |
|
| |
Cultured Perl: Genetic algorithms applied with Perl
Based on the Darwinian principle of survival of the fittest, genetic
programming uses mutation and replication to produce algorithms for creating
ever-improving computer programs. In this column, you'll get to know the
genetic algorithm in simple terms. Ted provides Perl implementations for some
specific tasks, which you can adapt for generic use. To demonstrate the
genetic algorithm, Ted breeds numbers for fitness to a formula, and letters to
form English words.
|
 |
Articles |
 |
01 Aug 2001 |
|
| |
Cultured Perl: Automating UNIX system administration with Perl
UNIX system administration, always a thorny problem, is easier with the right tools. In this installment, Teodor presents ideas on the use of Perl to streamline and foolproof system administration. The system configuration engine, cfengine, is an extremely important tool in this context.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Cultured Perl: The elegance of JAPH
A mainstay of the Perl culture, JAPH is a short script that produces the output "Just another Perl hacker." Although written for the beginner or intermediate Perl programmer, this article examines a few simple examples of the JAPH genre that will surprise and engage even the most seasoned devotee. The author of this article, Teodor Zlatanov, is an expert in Perl who has been working in the community since 1992 and specializes in, among other things, open source work in text parsing.
|
 |
Articles |
 |
01 Jul 2001 |
|
| |
Cultured Perl: One-liners 101
Those who use Perl as a programming language frequently forget that it is just as useful as a quick and dirty scripting engine for command-line operations. From the command line Perl can accomplish, in just a single line, tasks that require pages of code in most other languages. Join Teodor as he takes you through some useful examples.
|
 |
Articles |
 |
01 Apr 2001 |
|
| |
Cultured Perl: A programmer's Linux-oriented setup
After customizing tcsh, Enlightenment, Eterm, and Emacs for a Java and Perl-oriented programming environment, Teodor shows us the configuration of his desktop in Linux. It is optimized for a Java and Perl programming setup, but doubtless other programmers will find many useful tips.
|
 |
Articles |
 |
01 Mar 2001 |
|
| |
Cultured Perl: Perl 5.6 for C and Java programmers
Ted Zlatanov explains some of the peculiarities in Perl 5.6 for C and Java programmers, who may actually be pleasantly surprised by some familiar features hailing from sources other than Perl, like operator ambiguity, multiple ways of doing the same thing, punctuation, regular expressions, and variable mechanism. All of them put variety and power at your fingertips. The point is, Perl isn't too far from anyone's familiar territory and may be useful to even C and Java programmers at some point. So here's your opportunity to enhance your Perl 5.6 skills.
|
 |
Articles |
 |
01 Jan 2001 |
|
| |
Cultured Perl: Debugging Perl with ease
Teodor Zlatanov walks you through both the built-in Perl debugger and CPAN's Devel::ptkdb. The Perl debugger is powerful but frustrating to navigate. CPAN's Devel::ptkdb, on the other hand, works wonders by simplifying code debugging and thereby saving hours of your precious time. In his discussion Zlatanov concentrates on explaining debugging methods and general concepts rather than looking at specific tools.
|
 |
Articles |
 |
01 Nov 2000 |
|
| |
Cultured Perl: Application configuration with Perl
File-based configurations break down quickly if you use a hand-built method. Teodor Zlatanov demonstrates how the AppConfig module can handle local configuration storage for Perl programs, and how such configurations can be stored in a database that can then be accessed from any machine on the network.
|
 |
Articles |
 |
01 Oct 2000 |
|
| |
Cultured Perl: Review of Programming Perl, Third Edition
The release of the third edition of Programming Perl is a significant development for the Perl community.
|
 |
Articles |
 |
01 Sep 2000 |
|
| |
Cultured Perl: Writing Perl programs that speak English
Designing the user interface for a program can be difficult and time consuming. Teodor Zlatanov discusses how to use the Parse::RecDescent module to create a user interface grammar in plain English. He also shows how easy it is to change the grammar when features are added or removed from the program. The advantages and disadvantages of this approach are discussed and compared to a standard CLI parser and a GUI.
|
 |
Articles |
 |
01 Aug 2000 |
|
| |
Cultured Perl: Save it with Perl
Data storage is a common problem in computer programming. The CPAN Persistent classes make data storage easy through a common interface that simplifies data creation, retrieval, and management. Through object orientation, the Persistent classes can be used transparently in your project as ancestors of your own data classes.
|
 |
Articles |
 |
01 Jul 2000 |
|
| |