Cover V09, I07
Article
Listing 1
Listing 2
Listing 3
Listing 4
Listing 5

jul2000.tar


Listing 3: Perl inside of HTML

<? $mesg="Hello, World!"; ?>
<HTML>
    <!-- example of Perl -->

<HEAD><TITLE>Sample HTML Test File</TITLE></HEAD>
<BODY>
<CENTER>
    <?
        for ($i=1; $i<=6; $i++) {
           print "<h${i}> $mesg </h${i}>\n";
        }
        
    ?>
</CENTER>
</BODY>
</HTML>