Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl5lib variable

Status
Not open for further replies.

RexJacobus

Programmer
Dec 10, 2001
47
NZ
Brand new PC, installed apache and perl. Ran a script and got the error:

Can't locate Debug.pm in @INC (@INC contains: C:/usr/site/lib C:/usr/lib .)

Debug.pm is a cgi-bin\tlib in a development section folder so that makes some sense.

I checked this site and others and all things pointed to setting the PERL5LIB variable. So went to Environment Variables and created PELR5LIB and put C:\...\WebDesign\cgi-bin;C:\...\WebDesign\cgi-bin\tlib into it. But I still get the same error.

Any suggestions?

jim
 
Who's perl are you installing?? Activestate is one of the more common ones. What script are you trying to run? Is it calling Debug.pm?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those Who Say It Cannot Be Done Are Usually Interrupted by Someone Else Doing It; Give the wrong symptoms, get the wrong solutions;
 
Activestate is the install I used.

Pretty much all our scripts have the line use Debug;] in them.
The scripts all run fine on my boss's PC.
 
I don't see a debug module available for 5.8 on active state. Possibly it was available for activestate on 5.6?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those Who Say It Cannot Be Done Are Usually Interrupted by Someone Else Doing It; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top