Perl Basics: Printing HTML Output

As you saw in the last section, printing HTML to the browser with Perl required escaping quote marks and using the \n character to break a line if you wanted your code to be more readable.

03.02.09 | in Category: Perl

Perl Basics: Printing Simple Output

A simple Perl script like the one we just used simply writes output to the browser. To better understand how this is done, we need to look at a few things involved in printing output to the Web browser.

03.02.09 | in Category: Perl

Installing a Perl Script

To learn how to get a Perl script installed and running, we'll use the simple script below. When it is run, it will produce a Web page with some simple text on it. To begin, copy and paste the script below into your favorite text editor (Notepad, Word, etc.):

03.02.09 | in Category: Perl

About

Christopher is a Software Engineer, Cisco Certified Network Associate and freelance Web Designer / Programmer based in the Philippines.

Categories