Skip to content

Commit

Permalink
Add CGI.pm example
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Apr 29, 2010
1 parent bb4950c commit 9701482
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/cgi.pl
@@ -0,0 +1,8 @@
use v6;
use CGI:from<perl5>;

my $q = CGI.new;
print $q.header,
$q.start_html('Hello World'),
$q.h1('Hello World'),
$q.end_html;

0 comments on commit 9701482

Please sign in to comment.