http://www.perlmonks.org?node_id=841811


in reply to Re: use class path
in thread use class path

No, I get the same mistake: Can't locate Alogirthm/Evolutionary in @INC (@INC contans ../lib lib c:/strawberry/perl/site/lib c:/strawberry/perl/vendor/lib c:/strawberry/perl/lib .) at simulated-annealing.pl line 24

Replies are listed 'Best First'.
Re^3: use class path
by almut (Canon) on May 26, 2010 at 20:46 UTC

    Are you sure the relative path ../lib is correct (maybe you meant ./lib)?  From which directory are you running the script?  In case of doubt, simply specify the absolute path.

Re^3: use class path
by toolic (Bishop) on May 26, 2010 at 20:48 UTC
    Can't locate Alogirthm/Evolutionary
    It looks like you misspelled "Algorithm".

      Looks like a manually retyped (instead of copy-n-pasted) error message, otherwise there would've been .pm at the end of the module name.

Re^3: use class path
by pemungkah (Priest) on May 26, 2010 at 20:51 UTC
    You're sure it's spelled right? (It's not in the reply you posted above.)