Perl In Browser

    输出一个页面,类似out.write....

#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "<html><h1>Hello!</h1></html>\n";

   这个也就是html的源文件代码啦~

猜你喜欢

转载自lornlorn.iteye.com/blog/558063