Skip to content
Browse files

Add CGI.pm example

  • Loading branch information...
1 parent bb4950c commit 970148201b885593b6f17e24a79f89f9f1a8a8e7 @sorear sorear committed
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;

0 comments on commit 9701482

Please sign in to comment.
Something went wrong with that request. Please try again.