View Single Post
Old 01-14-2008, 08:01 PM   #74
Bristolduke
All Star Starter
 
Join Date: May 2006
Posts: 1,404
Thanks for the response. I'll give it a try. I have a bin folder at the /home/hnbaleag/bin I don't see anything in it.

The site said to use perl modules it should be there.

see below

Location of Your Perl Module(s)

Path: <CODE class=module-path>/home/hnbaleag/perl</CODE>


Using Your Perl Module(s)


You will need to add <CODE class=module-path>/home/hnbaleag/perl</CODE> to the include path.
You can do this by adding the following code to your script: <CODE>
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++; } }}</PRE></CODE>
Bristolduke is offline   Reply With Quote