home *** CD-ROM | disk | FTP | other *** search
- #!/usr/local/bin/perl
- print "Content-type: text/html\n\n";
-
- $date = `date`;
-
- chop $date;
-
- print <<"ending_print_tag";
- <html>
- <head>
- <title>CGI using Variables inside double quotation marks </title>
- <background="#000000" text="#F0F0F0" >
- </head>
- <body>
- <h1> CGI using Variables inside double quotation marks </h1>
- <p>
- <em> HELLO, INTERNET! </em>
- <br>
- Today is $date.
- <hr noshade>
- ending_print_tag
-
- print <<'ending_print_tag';
- <h1> CGI using Variables inside single quotation marks </h1>
- <p>
- <em> HELLO, INTERNET! </em>
- <br>
- Today is $date.
- <hr noshade>
- Watch out cyber space, another programmer is on the loose ;-)
- </body>
- </html>
- ending_print_tag
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-