Why use Perl for CGI?
Perl is the de facto standard for CGI programming for a number of reasons, but perhaps the most important are: • Socket Support – create programs that interface seamlessly with Internet protocols. Your CGI program can send a web page in response to a transaction and send a series of email messages to inform interested people that the transaction happened. • Pattern Matching – ideal for handling form data and searching text. • Flexible Text Handling – no details to worry. The way that Perl handles strings, in terms of memory allocation and deallocation, fades into the background as you program. You simply can ignore the details of concatenating, copying and creating new strings. The advantage of an interpreted language in CGI applications is its simplicity in development, debugging and revision. By removing the compilation step, you and I can move more quickly from task to task, without the frustration that can sometimes arise from debugging compiled programs. Of course not any interpre