How can I add "/home/account/perl " to the include path to get currency convertor to work ? \
\
\
Finance::Quote \
Finance::QuoteHist \
Were not installed \
\
Hosting company told me to install from CP which I did \
\
Installed Perl Module(s) \
Module Name Version Actions\
\
Date::Manip 5.45 \
Finance::Quote 0.1 \
Text::CSV_PP 1.05 \
\
\
\
Location of Your Perl Module(s) \
Path: /home/account/perl \
--------------------------------------------\
\
Using Your Perl Module(s) \
You will need to add /home/account/perl to the include path. \
You can do this by adding the following code to your script: \
\
BEGIN {\
my $homedir = (getpwuid($>))[7];\
my $n_inc = scalar @INC;\
for (my $i = 0; $i < $n_inc; $i++ ) {\
if (-d $homedir . '/perl' . $INC[$i]) {\
unshift(@INC,$homedir . '/perl' . $INC[$i]);\
$n_inc++;\
$i++;\
}\
}\
}\
--------------------------------------------\
\
Regards\
nik
If they refuse to install perl modules, then you have to switch to a good hosting company, check our hosting partner. Perl modules has to be installed by the server administrator.