Sample Code for Perl

From SwinBrain

This page contains some sample code snippets for the Perl programming language.

  1. #!/usr/bin/perl
  2.  
  3. print "Content-type:text/html\n\n";
  4. print "<html><head><title>Test Page</title></head>\n";
  5. print "<body>\n";
  6. print "<h2>Hello World</h2>\n";
  7. print "</body></html>\n";

[edit]Sample Code » C | C++ | .NET | Pascal | Perl | T-Sql | XHTML | Python | others to come