Pages

Thursday, August 1, 2013

Introduction to Perl


What is Perl?

Perl was originally developed with an emphasis on system management and text handling. However, as it was revised, other features were included such as regular expressions, signals and network sockets. If you have programming experience in any language, you can easily learn Perl.

Monday, December 8, 2003

Accessing SQL Databases in HTML::Mason

Introduction

In the past 3 articles, we discussed about the different components of HTML::Mason. Most web sites require database access so when you create your HTML::Mason pages, you should also consider this.

Tuesday, April 29, 2003

Perl IO::Sockets


Introduction to IO::Sockets

A client and server program works this way. Simply put, a client requests a service and a server services the request. There are several ways to do this. The crudest will be to call a program within Perl and pass the parameters during the call. Another way is to use pipes.

A program can call another program but the input to the called program will be passed through the STDIN of the other program. Both methods are crude and allow only for simple passing of input and output. Another way to do this is using sockets.

Sockets allow two programs to communicate with each other. The server binds a port on the machine. The client connects to that port to communicate with the server,