in reply to bareword problems

How are you loading the CGI module? It works fine for me with: use CGI qw(:standard);

use warnings; use strict; use CGI qw(:standard); print start_form(-action=>'mail.pl'), table( Tr( td("Name"), td( textfield( -name => 'name') ) ), Tr( td("age:"), td( textfield( -name => 'age') ) ), Tr( td( submit('send') ), ), end_form, );