Brothers and Sisters...... HELP.
I just upgraded to ActiveState Perl build 628.
Everything went without a hitch
(as close as you can get to that with Windoze)
with the exception of this one quirk:
I cannot get a module to load but only when it's run through IIS.
Running the script on the command line, it loads just fine.
When I hit the same exact script in a web browser it complains that it can't find the .pm
#! Perl -w
use strict;
use CGI::Carp 'fatalsToBrowser';
use CGI;
use DBI;
use CCMckLib3_2;
my $q = CGI->new;
print $q->header;
print "we're good";
Again, on the command line,
it prints a mime header and the text "we're good," in the browser the error is
"Can't locate CCMckLib3_2.pm in @INC (@INC contains: ....."
I checked the directories of @INC. CCMckLib3_2.pm is right where it ought to be.
I've checked the settings in IIS, re-installed the whole thing, and dumped every caching device I can think of. I'm out of ideas.
Is there anything special I need to do to install a module under this latest build?
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.