use CGI qw/:standard/; print header; print startform(); #开启表单 start_html('hello world'), #开启html设定网页框显示为hello world(可修改) h1('hello world'), #设定网页显示hello world(可修改) print endform(); #结束表单 end_html; #关闭html