Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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';

Comment on perl5 on iis5
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\\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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2014-07-13 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (250 votes), past polls