代码: http://xxxxx/cgi/perl-cgi.cgi?name=itech&url=itech.cnblogs.com&p1=test1
#!/usr/bin/perl -wT#should use strict and warnninguse warnings;use strict;use CGI;#to debug erroruse CGI::Carp qw(warningsToBrowser fatalsToBrowser);#or debug from command line by : perl -cwT yourcgi.cgi#or debug by : tail /var/log/apache/error_log#make sure yourcgi.cgi is world excutable or 755 permission
#just include sub features of cgi, standard means, 'html2', 'html3', 'html4', 'form' and 'cgi'.
#u......
阅读全文