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

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. The post Perl binding, or vs. ||...

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. The post Perl Range Operator appeared...

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

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


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

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
Browsing latest articles
Browse All 54 View Live




Latest Images