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 中打开的 ftp 句柄发送输入。我的脚本是
open (CALC, "|ftp abc.cde.com"); print "hello"; close CALC;
该网站只接受匿名用户作为输入。我试过使用$guess = <STDIN>;,但它不会工作。我如何强制 Perl 询问用户以及对用户进行硬编码?
$guess = <STDIN>;