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 中关闭文件句柄的优点是“$”。得到
请告诉我正确的答案和解释(如果可能的话)
阅读此关闭 FILEHANDLE perldoc。
您也可以以 $ 的价格查看 perlvar。
有一个相同的问题发布到 PerlMonks。您可能会在那里查看该问题收到的一些出色答案: 为什么我们需要关闭文件句柄?