<div dir="ltr">I don't think you want to use their code. The version they gave you is an inefficient form that applies to all their users. <br><br>All you want to do is add /home/prcsaca/perl to the "SetEnv PERL5LIB..." lines in your .conf file.<br>
<br>So you might have something like:<br><div style="margin-left: 40px;">SetEnv PERL5LIB "/home/prcsaca/perl:/home/prcsaca/kohaclone"<br></div><br>--joe<br><br><div class="gmail_quote">On Tue, Aug 12, 2008 at 12:48 PM, Dwayne Collins <span dir="ltr"><<a href="mailto:dcollins@prcsa.ca">dcollins@prcsa.ca</a>></span> wrote:
<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div bgcolor="#ffffff" text="#000000"><p>You will need to add <code>/home/prcsaca/perl</code>
to the include path. <br>
You can do this by adding the following code to your script: <code></code></p>
<pre>BEGIN {
my $homedir = ( getpwuid($>) )[7];
my @user_include;
foreach my $path (@INC) {
if ( -d $homedir . '/perl' . $path ) {
push @user_include, $homedir . '/perl' . $path;
}
}
unshift @INC, @user_include;
}
</pre></div></blockquote></div><br></div>