soumyapanda has asked for the wisdom of the Perl Monks concerning the following question:

Am installed UMMF perl module and tried running UMMF.pl perl script(am working on windows machine). Because of some dependencies error i installed YAML perl module. Because of other dependencies i installed SetObject perl module. After installing all the above am still getting the below mentioned error<\p>

Can't locate loadable object for module Set::object in @INC (@INC cont +ains: C:/P erl/site/lib C:/Perl/lib .) at C:/Perl/lib/UMMF.pm line 310

Please help me out in resolving the issue

Replies are listed 'Best First'.
Re: UMMF installation
by Corion (Patriarch) on Jul 27, 2011 at 13:37 UTC

    This means that your way of "installing" modules is faulty.

    Please use the "PPM" utility or cpan utility to install modules. They will automatically follow up dependencies.

    Your error message means that you failed to install Set::Object properly.

Re: UMMF installation
by Anonymous Monk on Jul 27, 2011 at 13:38 UTC
Re: UMMF installation
by ww (Archbishop) on Jul 27, 2011 at 16:09 UTC
    Alternate (and perhaps incorrect) interp of your error msg:

    Your code uses (requires) "Set::object" (with a lower case "o") which isn't the name of a module you may have actually installed properly.

      Alternate (and perhaps incorrect) interp of your error msg

      That interpretation looks correct to me.
      What *is* a bit puzzling is that the error message posted by the OP is being generated by UMMF.pm. The latest version of UMMF.pm on CPAN definitely has use Set::Object; not use Set::object;

      soumyapanda, I guess you must have modified UMMF.pm at some stage - in which case you need to return it to its original state. If you haven't modified that file, then you either need to fix it, or install the current version of UMMF from CPAN.

      Cheers,
      Rob

        Could be installed by ppm, but uploaded ppm was broken

        Could be manual copying of Object.pm to object.pm, without compiling XS components

        $ perl -MXSLoader -e " XSLoader::load 666, 666 " Can't locate loadable object for module 666 in @INC

        soumyapanda needs to communicate with us in place of lurking, ESP is hard :)