#!/usr/bin/perl # use Term::ReadKey; use CGI qw(:standard); print header; print start_html('A Chess Board Analyzer'), h1('A Chess Board Analyzer'), start_form, "Copy in your board position string identifier (see examples below)
", textfield(-name=>'combi',-default=>'8/8/8/8/8/8/8/8',-size=>70,-maxlength=>140), submit, end_form, hr, "Examples of valid input:
", hr; if (param()) { print "", p, "", p, "", "", hr; } print "See the source here or go back to the main site.
", ""; print end_html;