Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add CGI.pm example

  • Loading branch information...
commit 970148201b885593b6f17e24a79f89f9f1a8a8e7 1 parent bb4950c
@sorear sorear authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 examples/cgi.pl
View
8 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;
Please sign in to comment.
Something went wrong with that request. Please try again.