【发布时间】:2013-10-19 22:04:21
【问题描述】:
Scalar found where operator expected at /pgfs1/eng/hchian2/bin/soc/fc_net_tracer.pl line 158, near "%hash_build_db::$cblock"
(Missing operator before $cblock?)
syntax error at /pgfs1/eng/hchian2/bin/soc/fc_net_tracer.pl line 158, near "%hash_build_db::$cblock"
Execution of /pgfs1/eng/hchian2/bin/soc/fc_net_tracer.pl aborted due to compilation errors.
我正在尝试从另一个模块复制哈希,但这个问题错误阻止了我。
我用来引用我在hash_build_db.pm 中创建的哈希的代码是
use hash_build_db;
%$cblock = %hash_build_db::$cblock;
【问题讨论】: