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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.