Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: use class path

by almut (Canon)
on May 26, 2010 at 20:30 UTC ( #841810=note: print w/replies, xml ) Need Help??


in reply to use class path

Try

use lib "../lib"; use Algorithm::Evolutionary;

Replies are listed 'Best First'.
Re^2: use class path
by josera (Beadle) on May 26, 2010 at 20:38 UTC
    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

      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.

      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.

      You're sure it's spelled right? (It's not in the reply you posted above.)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://841810]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2022-09-29 05:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (125 votes). Check out past polls.

    Notices?