in reply to Can't locate loadable object for module in @INC

By the way, line 54 in the Yaswi.pm is just use Language::Prolog::Yaswi::Low.pm

Really?

$ perl -e'use Language::Prolog::Yaswi::Low.pm' syntax error at -e line 1, near "use Language::Prolog::Yaswi::Low." Execution of -e aborted due to compilation errors.

It fails because it can't find Low.pm

Not according to the error your posted. It can't find the DLL associated with the module.

I copy Yaswi.pm into the C:\Perl\site\lib\Language\Prolog directory

That's not how you install a module!! Start by installing the module.

Replies are listed 'Best First'.
Re^2: Can't locate loadable object for module in @INC
by Steve_BZ (Chaplain) on Nov 10, 2009 at 23:56 UTC

    Ah you're right, I didn't read the message properly. It's an error *in* Low.pm, not Low.pm itself. Thanks for that.

    It's true that I'm not very experienced at installing from CPAN. I use ppm when I can, but this isn't on it. I did try

    Makefile.PL nmake nmake test nmake install
    but it failed several times. I emailed the auther about it's failure to install, he was very helpful but mainly a Linux guy and could only say that he know a lot of windows installers had had problems. So I thought a cut and paste job might work. Clearly not. Maybe I'll go back to the install and paste the issues here and then everyone can benefit from it.

    Thanks and regards

    Steve

      You might want to try posting the first errors in the build, here.