Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Perl modules confusion

by targetsmart (Curate)
on Jun 25, 2009 at 11:15 UTC ( #774666=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl modules confusion
in thread Perl modules confusion

Which of those paths do I need to change...and more importantly..how?
way 1)
unshift(@INC, '<path to your self-made local folder where the perl modules are installed>')

way 2)
use lib '<path to your self-made local folder where the perl modules are installed>'

way 3)
perl -I<path to your self-made local folder where the perl modules are installed>' <your perl program>

see How do I add a directory to my include path (@INC) at runtime?
Tutorials is the best place to start in perlmonks, if you are a newbie.
i started from Categorized Questions and Answers and Tutorials


Vivek
-- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.


Comment on Re^3: Perl modules confusion
Replies are listed 'Best First'.
Re^4: Perl modules confusion
by umeboshi (Acolyte) on Jun 25, 2009 at 12:01 UTC
    Thanks a lot for your answers!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2015-07-30 02:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls