use CGI; # don't you mean use CGI qw(:standard); here?