【发布时间】:2023-03-05 20:16:01
【问题描述】:
我在index.pl 中写了以下内容,即C:\xampp\htdocs\perl 文件夹:
#!/usr/bin/perl
print "<html>";
print "<h2>PERL IT!</h2>";
print "this is some text that should get displyed in browser";
print "</html>";
当我浏览到 http://localhost:88/perl/ 时,上面的 HTML 没有显示(我在 IE FF 和 chrome 中尝试过)。
是什么原因?
我在这个 Windows XP 系统上安装了 xampp 和 apache2.2。
【问题讨论】: