Handling Missing Data in Inputs
Missing data can be very annoying to a programmer. In fact, it is so annoying that very often we'll write separate programs to clean up data and eliminate unpleasant conditions so that the main program...
View ArticlePerl binding, or vs. ||
Perl has "||" and "or". While "or" can't be used in bit operations, either one can be used in logical flow control - but there is an important difference between them.
View ArticleCreating Perl Modules for Websites
When you are writing your own code, you are more apt to use someone else's module than write your own, unless your project gets fairly large and complex. Small scripting tasks just don't need the...
View ArticlePerl Range Operator
In a list context, this operator is easy to use and understand. It is much more confusing in a scalar context, and is often badly explained in books and webpages.
View ArticleBuild a Perl/CGI Voting System
Many Web-deployed applications are written within elaborate database-driven server-side development frameworks such as PHP and Java™ servlets, but for simple applications (for example, where the entire...
View ArticleCreating Perl Modules for Web Sites
When you are writing your own code, you are more apt to use someone else's module than write your own, unless your project gets fairly large and complex. Small scripting tasks just don't need the...
View ArticleBit Vector, Using Perl Vec
A bit vector is just an array of bits; subsets of bits within the bytes have some meaning. That allows more compact storage for certain types of data. For example, if you only needed boolean on-off...
View ArticleBit Vector, Using Perl Vec
A bit vector is just an array of bits; subsets of bits within the bytes have some meaning. That allows more compact storage for certain types of data. For example, if you only needed boolean on-off...
View ArticleLog Script Use
How many old, unused (or under-used) CGI scripts do you have lingering on your server, taking up space? You may not be as guilty of abandoning CGI software in lieu of newer versions as we are (we've...
View ArticleRandom subroutines in Perl
I'll bet your first question might be "why on earth would I ever want to call subroutines randomly?". Admittedly, it isn't a need that comes up that often, but (for example) it's used right here on...
View ArticleTransferring Mail to a New Mail Server
Sometimes we just have to move on. Your current mail server may just not be meeting your needs, so you've put up something new. But what about old mail? If your servers are identical (Sendmail to...
View ArticleGoal Seeking Code
This is an extremely unsophisticated program that demonstrates evolutionary DNA. You start by passing it a string:The post Goal Seeking Code appeared first on .
View ArticleReplacing a Spreadsheet
Spreadsheets can be powerful tools, and particularly so in the hands of an expert user. A spreadsheet can be used to reorganize data and to extract information not otherwise available. For example, at...
View ArticleText::Autoformat: Smart Text Reformatting with Perl
I've been using http://groups-beta.google.com/ for Newsgroup posting for a while now. It's convenient for me because of my nomadic life style where I have different ISP's and often different machines...
View ArticleHandling Missing Data in Inputs
Missing data can be very annoying to a programmer. In fact, it is so annoying that very often we'll write separate programs to clean up data and eliminate unpleasant conditions so that the main program...
View ArticleTransferring Mail to a New Mail Server
Sometimes we just have to move on. Your current mail server may just not be meeting your needs, so you've put up something new. But what about old mail? If your servers are identical (Sendmail to...
View ArticleHandling Missing Data in Inputs
Missing data can be very annoying to a programmer. In fact, it is so annoying that very often we'll write separate programs to clean up data and eliminate unpleasant conditions so that the main program...
View ArticleTransferring Mail to a New Mail Server
Sometimes we just have to move on. Your current mail server may just not be meeting your needs, so you've put up something new. But what about old mail? If your servers are identical (Sendmail to...
View ArticleGoal Seeking Code
This is an extremely unsophisticated program that demonstrates evolutionary DNA. You start by passing it a string:The post Goal Seeking Code appeared first on .
View ArticleHandling Missing Data in Inputs
Missing data can be very annoying to a programmer. In fact, it is so annoying that very often we'll write separate programs to clean up data and eliminate unpleasant conditions so that the main program...
View Article