Chinaunix
标题:
perl在win和linux下性能有差别吗?
[打印本页]
作者:
d4rkl0rd
时间:
2013-04-06 18:21
标题:
perl在win和linux下性能有差别吗?
perl在win和linux下性能有差别吗?
作者:
兰花仙子
时间:
2013-04-06 20:20
that depends, the modules, the programming way etc.
There is quite extensive manual page about Windows-specific perl problems - perlwin32.
作者:
墨迹哥
时间:
2013-04-06 21:00
本帖最后由 墨迹哥 于 2013-04-06 21:00 编辑
回复
2#
兰花仙子
仙子。。有问题请教。。。怎么样才能滚屏显示出东西在web页面上?
perl脚本:
#!/usr/bin/perl
while (1){
sleep(1);
foreach my $t (1..20){
print $t,"\n";
}
}
复制代码
php脚本:
<?php
echo shell_exec('perl 2.pl');
?>
复制代码
作者:
兰花仙子
时间:
2013-04-07 09:38
墨迹哥 发表于 2013-04-06 21:00
回复 2# 兰花仙子
php用system()调用吧
另外perl里设置 $|=1
作者:
墨迹哥
时间:
2013-04-07 09:43
回复
4#
兰花仙子
要学的东西还是好多。。。。————!
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2