Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

perl5 on iis5

by Anonymous Monk
on Jun 16, 2001 at 17:48 UTC ( #89045=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can't locate in @INC (@INC contains: C:\infranet\lib c:\infranet\lib c:\infranet\lib\site c:\infranet\lib\site .) at C:\Inetpub\cgi-bin\csc\ line 6. usr_pin.conf is the configuration file add by means of require '';

Comment on perl5 on iis5
Replies are listed 'Best First'.
Re: perl5 on iis5
by nysus (Deacon) on Jun 16, 2001 at 17:56 UTC
    Hey, bro, it's not real good practice here to double post. Try rewriting your question in real english instead of copying and pasting your STDOUT and you'll probably get a much better response.

    $PM = "Perl Monk's";
    $MCF = "Most Clueless Friar Abbot";
    $nysus = $PM . $MCF;

Re: perl5 on iis5
by srawls (Friar) on Jun 16, 2001 at 18:37 UTC
    Perl can't find your file, you have to tell perl where it is:
    BEGIN { push @INC, 'path\\to\\'; }
    Please note: I noticed you are on windows, those double slashes are needed because otherwise you'll escape the letter following the slash.

    Update:Oh, and listen to Nysus, he's right on the mark.

    The 15 year old, freshman programmer,
    Stephen Rawls

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://89045]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2015-10-09 00:11 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (232 votes), past polls