#!/usr/bin/perl
################
#
# demo of CGI.pm
#
###############
use strict;
use warnings;
use CGI qw(:standard);

my $color = param('color') || '';     # string is '' if no param

print header;

print qq{
 <html>
   <head></head>
   <body>
    <form method="POST">
      <input type="text" name="color">
      <input type="submit">
    </form>
    <hr>

 Your color is '$color'. <br>

   </body>
 </html>
}
