IIRC you can use lib 'SOMEWHERE' as long as you have the XS parts in SOMEWHERE/arch/.... (i.e. SOMEWHERE/arch/auto/Module/Name.so) I don't think "use blib" does anything more than search for a "blib" directory up the tree and "use lib" that.
| [reply] [d/l] |
$ perl -MModule::CoreList
print Module::CoreList->first_release('blib');
5.004
| [reply] [d/l] |
Consider using PAR for your application. Either upload a .par file containing the required collection of modules, or go the whole hog and build an executable for your CGI. In either case, you should be able to verify that your app works before you upload it.
An alternative is to make install to a private directory tree of your own (perl Makefile.PL PREFIX=/my/dir LIB=/my/dir/lib), and put this directory tree into your webspace, adding its lib directory to @INC with use lib. This will ensure that the binaries are in the right architecture specific directories.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ? (Missquoting Janis Joplin)
| [reply] [d/l] [select] |
| [reply] |
Thank you for all your replies!
I think I have a solution. I'm uploading a full installation of perl 5.6.2 on the website so I can use CPAN to mangage my private modules (I have SSH access) and ensure they are located properly. (I wish I could do this and use 5.8.x but their webserver rewrites all perl scripts to use their interpreter) This way I can just use use lib 'mod-path' to over-ride the default lib paths in my scripts maintaining binary compatibility.
I can't believe their perl environment, I found that half of the @INC library paths are invalid and there are duplicate copies of modules scattered through the others... highly thinking of overriding all of @INC since I now have the full dist. | [reply] |