introduction to Perl 5 for web developers Procedural-based Programming In the 1970's procedural-based programming was all the rage. You should be very familiar with procedural-based programming since this tutorial assumes that you are already familiar with Perl 4, which is very much a procedural-based programming language.

In a procedural-based programming language, a programmer writes out instructions that are followed by a computer from start to finish.

For example, a procedural-oriented program might work like this:

[image]

A more complex procedural-based program might introduce logical branches such as in the following example

[image]

But even in the case of a more complex logical flow, the main idea remains the same...a certain set of instructions is followed through from beginning to end, each step building upon and tied to every previous step.

Previous | Next | Table of Contents