in reply to HTML Form retaining values

As you can see, handling CGI by hand is a waste of time. CGI.pm is your friend:
use strict; use warnings; use Data::Dumper; use CGI qw(:standard Vars); print header, start_html('sticky checkbox test'), start_form, checkbox('foo',undef,'ON','Test Check Box'), br, submit('Submit'), reset, end_form, end_html, ; if (param('Submit')) { print pre(Dumper {Vars}); }

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)