gpt4 book ai didi

perl - perl 中的 C++ getch()?

转载 作者:行者123 更新时间:2023-12-04 17:28:20 24 4
gpt4 key购买 nike

在c++中,有一个函数,getch(),
它返回
您按下的键的变量 - 就像输入一样
13. 我怎么能在 perl 中做到这一点?

最佳答案

您可以使用 Term::ReadKey .

关于perl - perl 中的 C++ getch()?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2988008/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com