Bone_Scavenger has asked for the wisdom of the Perl Monks concerning the following question:
I'm wondering how all the paths I see in my @INC get set. Here's the problem I'm having. I have a site hosted at Canaca. I've installed Movable-Type on my site, and I run the Movable-Type cgi script that checks for the presence of various pieces of software. One of the perl modules that it looks for is Image::Majick. According to my host, Image::Majick is installed on my server. According to the Movable-Type cgi script, it's not there. I'm guessing that's because the path to Image::Majick isn't in my @INC.
I've exchanged numerous emails with my host on this subject. They've given me a few paths to try to resolve the problem. I've used the "-I" perl command-line flag to specify the paths but it still doesn't work.
My thinking is that the host should be controlling the inital setup of my @INC. I shouldn't have to change the value of @INC in every cgi script that needs access to Image::Majick.
So, I'm wondering what I need to have the host do so that my server has the Image::Majick directory specified in @INC.
Thanks.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How does @INC get set?
by fglock (Vicar) on Nov 10, 2004 at 16:56 UTC | |
by Bone_Scavenger (Novice) on Nov 10, 2004 at 18:42 UTC | |
by radiantmatrix (Parson) on Nov 10, 2004 at 21:33 UTC | |
by Bone_Scavenger (Novice) on Nov 12, 2004 at 01:26 UTC | |
by radiantmatrix (Parson) on Nov 12, 2004 at 14:07 UTC | |
Re: How does @INC get set?
by ikegami (Patriarch) on Nov 10, 2004 at 16:33 UTC | |
by Bone_Scavenger (Novice) on Nov 10, 2004 at 16:54 UTC | |
by ikegami (Patriarch) on Nov 10, 2004 at 17:08 UTC | |
Re: How does @INC get set?
by johnnywang (Priest) on Nov 10, 2004 at 18:48 UTC | |
Re: How does @INC get set?
by buttroast (Scribe) on Nov 10, 2004 at 19:09 UTC | |
by Bone_Scavenger (Novice) on Nov 10, 2004 at 19:22 UTC | |
Re: How does @INC get set?
by steves (Curate) on Nov 12, 2004 at 14:18 UTC |
Back to
Seekers of Perl Wisdom