purl in your heart
2011年6月7日星期二
bash coproc
$ coproc perl -MIO::File -le 'autoflush STDOUT 1; do {print $_; sleep 2;} for 1..5'
$ cat <&${COPROC[0]}
1
2
3
4
5
Posted via email
from
purl's posterous
没有评论:
发表评论
较新的博文
较早的博文
主页
订阅:
博文评论 (Atom)
没有评论:
发表评论