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 工作区中保存变量或只是一个哈希?例如,这可以在 Matlab 中使用“保存”功能完成。
编辑:我正在阅读几个文本文件并从中生成哈希。当一个新的文本文件出现时,我想更新这个散列而不从头开始重新做所有事情。
谢谢。
您可以使用例如。Storeble模块或YAML或JSON来保存会话之间的哈希。