|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hello.
Is it possible to change the location that @INC points to in PERL? I am running the script through telenet, but it will not run the include scripts I added. Thanks yoshi http://www.datera.com |
|
#2
|
|||
|
|||
|
>>Is it possible to change the location that @INC points to in PERL?
You can't change to another location. If your perl module was installed in another non-standard location, you can add a "use lib" line. Here is an example of my most frequently use perl module.. Fields.pm is in this non-standard location: /home/username/public_html/lib/Sort/Fields.pm You would need to add the following to your script: use lib '/home/username/public_html/lib'; use Sort::Fields; Doing so will not change the path of your @INC, however, it will add the "use lib" path in addition to its search path. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > change the location that @INC points to in PERL? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|