Quantcast
Channel: CGI and Perl – Web Site Development Tutorials – Web Developer Resource
Browsing all 54 articles
Browse latest View live

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 Article


Perl 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 Article


Creating 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 Article

Perl 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 Article

Build 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 Article


Creating 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 Article

Bit 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 Article

Bit 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 Article


Log 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 Article


Random 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 Article

Transferring 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 Article

Goal 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 Article

Replacing 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 Article


Text::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 Article

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 Article


Transferring 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 Article

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 Article


Transferring 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 Article

Goal 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 Article

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 Article
Browsing all 54 articles
Browse latest View live