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.
我正在学习 perl 模块 IPC::Run。在阅读 cpan 文档时,我遇到了'<pipe'. 我写了一个小程序。在执行时它总是挂起。
'<pipe'
我编写的代码:这只是 cpan doc 的副本。
local (*IN); @cat = ('cat') $h = star
问问题
问问题 2013-11-01T17:22:34.870 110 次 This question shows research effort; it is useful and clear 2 This question does not show any research effort; it is unclear or not useful Bookmark this question. Show activity on this post. perl 4 1 回答 1 This answer is useful 1 的文档pump说“它会阻塞,直到它提供一些输入或接收一些输出。” pump在那个例子中调用是没有意义的。start没有得到任何交付,start也没有被指示听cat。 删除该行。 于 2013-11-01T17:43:22.750 回答 Related 0 java - 带有对象的休眠命名查询 1 python - 创建列表/节点类 Python 1 ruby-on-rails - 带有@javascript标签功能的黄瓜文件下载 1 django - 我怎么知道那天是否已经观看过视频文件? 2 html - Ember.js:获取评估 EmberJs.Handlebars 模板的 HTML 结果 2 windows - 我们可以从 Delphi 调用 Native Windows API 吗? 3 apache - Symfony2:将 localhost/app_dev.php 重定向到 localhost/ 1 jquery - 将数组字符串项解析为 XML 1 c++ - 稀疏矩阵的乘法,链表 1 iphone - 检查 id NSNumber 是否为空 Reference php × 1429865 c/c++ × 756500 nginx × 49975 mongodb × 159057 mybatis × 3233 anaconda × 13410 pycharm × 14671 python × 1902243 vscode × 56040 docker × 110988 github × 49000 flask × 49129 ffmpeg × 24037 jmeter × 16910 matplotlib × 63493 bootstrap × 54641
的文档pump说“它会阻塞,直到它提供一些输入或接收一些输出。”
pump
pump在那个例子中调用是没有意义的。start没有得到任何交付,start也没有被指示听cat。
start
cat
删除该行。