Hello Monks!
I've been using Perl for quite a while now, but today I've come up against a problem I can't budge.
While most of the code I write is for a intranet environment where I have full control over the Perl environment I'm also writing code that is hosted on a shared web server where I am very limited to just the most basic modules the provider has thought to install.
What I have done thus far is to copy my modules to a protected location on my webspace and
'use lib './module-path' to push them into the @INC array - up until now this has worked for the few modules I required.
The problem: I have a program that I need to host on this server that requires the CGI::Application framework and while I was able to get the basic bits of this to work with my previous workaround the modules that use XS code don't work. The interpreter can locate the pm files but doesn't know the location of the .so library files.
So - simply, how does one tell the Perl interpreter to look elsewhere besides the default location for the XS .so library files?
I have asked if they would install additional modules and the answer is stout 'NO'. Also of note, the Perl version there is 5.6.1 and there is no 'blib' module (that came out in 5.8.x didn't it?)
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.