Internet Programming Perl

Internet programming Perl applications can be written very easy in Perl. In a few lines of code you will be able to create a network connection between a client and a server machine or even to develop a fully functional web server.

In order to manage network, web or internet connections, you should have some programming experience in Perl, including understanding the TCP/IP protocol on which rely the mail and browsing services, to mention only two of the most important ones.

Perl’s architecture, portability, the very large number of modules available that you can integrate in your application recommend this language for internet application.

Perl also provides full support for using sockets. If you want to connect two machines, you must write a program for each machine. The program that you want to receive a connection must create a socket, bind it to a port, and afterwards it must wait for incoming connections. The other program - which initiates the call - will also create a socket and it will supply the IP address and the listening port of the other machine. After the connection is established, the two programs can change information between them. At the end of the communication session, the connection is closed by the program which has initiated it.

When we speak about Internet Programming Perl, we have in view some services which you can develop: email, ftp, telnet, news, POP, SMTP, chat, web server, and so on.

The easiest way to manage the internet connections is using some appropriate modules available in great numbers at CPAN or from other sources. We’ll provide below some useful links which will help you choose the appropriate module for your network application.

Related links:

Perl Telnet

return from Internet Programming Perl to Home Page