in reply to Question about this simple CGI

Other monks already gave you good advice (quote, initialise, print). Seeing, use DBI;, use DBD::mysql;, and the early stage of an Add user CGI script, I feel obliged to drop the obligatory link ;-)
A term project should provide a good opportunity to train these skills right from the start.

Looking into Dancer or Mojolicious might also be worthwhile?