Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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 usr_pin.conf.pl in @INC (@INC contains: C:\infranet\lib c:\infranet\lib c:\infranet\lib\site c:\infranet\lib\site .) at C:\Inetpub\cgi-bin\csc\usr_welcome.pl line 6. usr_pin.conf is the configuration file add by means of require 'usr_pin_conf.pl';

Replies are listed 'Best First'.
Re: perl5 on iis5
by nysus (Priest) 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\\usr_pin.conf.pl'; }
    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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://89045]
Approved by root
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-06-27 21:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (614 votes). Check out past polls.