Posted on 2005-05-24 08:56:09-07 by primestone
use_cached_attributes

Downloaded the VCS-CMSynergy module (1.24), for use on Windows 2000, and followed the specified instructions. NMake returned an error due to a dependency; resolved through downloading the Run3 module. My current issue is that when I try and connect to the Synergy server the following error is returned:

Can't locate class method "use_cached_attributes" via class "VCS::CMSynergy" at D:\Downloads\Perl\API\VCS-CMSynergy-1.24\test2.pl line 5 BEGIN failed--compilation aborted at D:\Downloads\Perl\API\VCS-CMSynergy-1.24\test2.pl line 5.

Have inspected the module and there is no definition for this method but the following comment is included in the file:

# require V::C::Object _after_ use_* have been defined,

# so that optimization based on constant expressions can

# e.g. eliminate branches guarded with "if (V::C::use_cached_attributes)"

Does the CMSynergy module need to be altered in order to resolve this issue, do I need to download any further modules, ...?

I am seasoned developer (C++/C#) but am new to using Perl. Any input appreciated.

Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.