无法找到对象方法" find_md5"通过包" DBM :: Deep :: Engine :: Sector :: Scalar"

时间:2013-05-07 06:23:05

标签: perl

有人知道为什么会收到此错误吗?

Can't locate object method "find_md5" via package "DBM::Deep::Engine::Sector::Scalar" at /u/xref/xref.10/bin/../lib/perl5/site_perl/5.8.8/DBM/Deep/Engine.pm line 1599

请让我知道如何摆脱这个。

1 个答案:

答案 0 :(得分:2)

因为$o->find_md5被调用,其中$o是字符串DBM::Deep::Engine::Sector::Scalar或者类DBM :: Deep :: Engine :: Sector :: Scalar的对象,但是该类没有有一个名为find_md5的方法。

(DBM :: Deep :: Engine :: Sector :: Scalar似乎甚至不存在于较新版本的DBM :: Deep发行版中,因此升级DBM :: Deep将是一个良好的开端。)