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 嵌套哈希。当我尝试使用 Storable 模块(内部哈希)进行存储时,我收到错误“不是参考”。例子:
store($outer_hash->{$id}, $filename);
我应该如何找回它?下一行是正确的方法吗?
$outer_hash->{$id} = retrieve($filename);