Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要从我的 cgi perl 脚本中调出一个下载对话框。
这就是我所拥有的
use CGI qw/:standard/; print header(-type=>'text/xml',-charset=>'UTF-8'); print header(-'Content-Disposition'=>'attachment; filename="FileName"'); print "<root></root>";
内容处置有问题。我无法让它工作。